JNI: call C-main program from Java  
Author Message
google





PostPosted: 2003-7-15 20:59:00 Top

java-programmer, JNI: call C-main program from Java I have a C-program which calls Java functions through JNI.
The C-part runs okay, and I want to debug the Java code.
For that reason, I want to start the Java debugger and then start the
C-main program through JNI. After that I hope I can set
breakpoints within the Java part and start debugging.

In the documents I saw that "System.LoadLibrary()" can load
only DLL's and shared object, but no main-program.

Thanks for any help,
Josef