You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some JNI interfaces have been upgraded to FFM (see javaforce.ffm.*)
FFM.disable() can be used to revert back to JNI
Completed so far : OpenGL, OpenCL, Camera and PCap
FFM overall is more complex than JNI.
see javaforce.ffm.JNI2FFM that converts a JNI interface to FFM.
The FFM implementations call nearly identical JNI methods,
which in turn call the related native methods.
Directly invoking Windows API or FFMpeg (todo) would be too complex.
javaforce.ffm.FFM is a helper class to get function pointers and deal with arrays.
Performance seems on par with JNI.
increased minimum required JDK to 25 (technically only 22 is required for FFM but 25 is the next LTS)
on Debian the JDK dependancy changed from default-jre to openjdk-25-jre
which may cause issues requiring manual upgrades.
Ensure JDK 25 is installed before upgrading:
apt install openjdk-25-jre
all native methods have been moved to javaforce.jni
next release will test out Java FFM native interop
this requires Java 22 which is a problem for Debian.
JF deps on 'default-jre' which still targets Java 21
therefore the dep will have to target Java 25 directly
which will break 'apt upgrade'
Find alternative method to install Java 25 on your Linux systems:
apt install openjdk-25-jre
before the next release.