Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MingW GCC sorry, unimplemented: 64-bit mode not compiled in #include <jni.h>

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.

like image 650
Joseph Prabhu C Avatar asked Jun 18 '15 09:06

Joseph Prabhu C


1 Answers

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.

like image 97
Joseph Prabhu C Avatar answered Oct 01 '22 04:10

Joseph Prabhu C