I am trying to compile a C program which uses Java's JNI header jni.h
, but I am getting the following error:
sorry, unimplemented: 64-bit mode not compiled in #include <jni.h>
I am using the 64 bit JDK, so I don't understand why this is happening.
The problem turned out to be that I was using the 32-bit version of MinGW GCC. On updating to the 64-bit compilers, the error went away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With