I am having an exe created for a c program
- Posted by: Kamali Santhosh
- Posted on: July 20 2001 08:29 EDT
i want to invoke that from my java file.
how do i do it ?
Runtime.exec is not working .
JNI needs it as a shared library right .
If you have it compiled down to an executable, Runtime.exec() should work. What's happening when you call exec()?
If you want to use JNI, you'll probably need to write JNI code that bridges your C and Java, then compile it down to a DLL (or .so in Unix).