In order to support the calling of native library calls from Java code, FWD depends on Portable Foreign Function Interface Library (also known as libffi). The FWD JNI library is dependent upon libffi.

If the FWD client system will also be used to build FWD, you MUST install the development version of libffi.

The following instructions are valid only if the system is being used for running the FWD Client, but NOT for building FWD.

In all cases, the bitness of this library must match the OS architecture and also the bitness of the JVM used by the FWD clients.

Linux Windows
On Linux, libffi can be installed using sudo apt-get install libffi6.
The third party libffi-6.dll is required for use of FWD on Windows. The DLL must be installed into the system directory (usually C:\Windows\system32).

For details on building libffi from source code, please see Building and Installing libffi on Windows.

As a convenience, the 32-bit and 64-bit pre-built libffi6.dll archives are available.