You have installed a JRE and not a JDK.
To compile JNI native code, you need to install a JDK, which comes with the appropriate jni.h header, as well as the OS specific headers.
When you do that, update your include path to
-I <path_to_jdk>/include -I <path_to_jdk>/include/linux