I\'m trying to compile a Java library that uses JNI. When I start the program, I see a crash with an UnsatisfiedLinkError, which says that a particular method could not be f
For JNI calls to work with Windows DLLs compiled with GCC you need to add a add-stdcall-alias parameter to GCC on linking phase:
gcc -Wl,--add-stdcall-alias
Which will add correct function names to the DLL and thus enable calls via JNI.