Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot open include file: 'jni.h'

843829Aug 3 2010 — edited Aug 3 2010
Hiya just a quick question, I have been trying with no avail, to compile my c++ program with the path in visual express cmd, I have tried diff ways but still shows errors.

The following is the code that I am using

cl -I"c:\program files\java\jdk1.6.0_06\include" -I"c:\program files\java\jdk1.6.0_06\include\win32" -I"." -MT -LD HelloWorld.cpp -FeHelloDLL.dll


where my path is C:\Program Files\Java\jdk1.6.0_06\include

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2010
Added on Aug 3 2010
4 comments
231 views