Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using JNI : cannot find include file: <jni.h>

Status
Not open for further replies.

Gaelle

Programmer
Jun 20, 2001
62
FR
Hello !

I'm a newbie in JNI, and I try to follow the Tutorial of Sun, but I don't manage to compile my C class using cc.
I have the error of &quot;cannot find include file: <jni.h>&quot;, despite the jni.h is in the include directory of my JDK1.2.2.
Is there a special place I should put jni.h in ? Or do I have to change a variable like PATH, or something ?

Thanks !
Gaelle.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top