How do I run my java file through Visual C++ Debugger.
Created May 4, 2012
Davanum Srinivas you have to use
java.exe
as the debugging application for your DLL. You open your native DLL project and enter the following in the Debug tab of the project:
<your javahome>/bin/java.exe -Djava.library.path=<your DLL path> -classpath <your cp> <other options> <your Java class>
This has worked reliably for us here at Codemesh when we debugged our JNI tool.
Answer by Alexander Krapf