fatal error C1083: Cannot open include file: 'jni.h'
843829Apr 16 2002 — edited Sep 25 2008Hi
I am getting the above error when i try to compile the C source code.
I used javah -jni to compile the header and that seems to work.
I read a previous topic and changed the 'include' to the exact directory e.g.
#include <jni.h> changed to #include "C:\Program Files\jdk1.2.2\include\jni.h"
When I do this it says can't find jni_md.h so I put in the full path for this one too.
When I recompile it it seems to work but the environment (MicroSoft Visual C++) says the ".h" has been altered and reloads it without the paths I just put in.
What can I do?
Martin