We have a forum for JNI questions here. I am moving your request there.
posted 10 years ago
The question is probably not about JNI, but it is a FAQ nonetheless. Search the archives for "Runtime.exec", and you'll find plenty of answers, not to mention the Java Intermediate FAQ, which also contains an answer.