1 Reply Latest reply on Aug 3, 2010 7:55 PM by baftos

    Cannot open include file: 'jni.h'

      Previously posted in JNI but was told that it is a compiler problem so here is the problem

      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