problem in compiling native code
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Wednesday, June 19, 2002 10:39 AM



I Want to call a function in C++ and call it
through JNI. I've created a java class "HelloWorld.class"
and a header file "HelloWorld.h". Now when while compiling
the C++ program the error occurs that "could not open include JNI.H" "could not open include HelloWorld.h"
what should be the solution. the tutorial of java.sun.com
confuses me. please tell me in a simple language.

Re: problem in compiling native code

Posted By:   Taoufik_MOHDIT  
Posted On:   Tuesday, July 9, 2002 02:46 AM

Did you check if the java path (c:jdkinclude for example) contains jni.h header?
About | Sitemap | Contact