Java external program
问题 I'd like to start external third party application from my Java application. This external application should run all the time whilst my java application runs. From time to time (it depends on user interaction) my java app should be able to read and write to this external application via stdin and stdout . How can I do that? 回答1: Is ex-app native code, or another Java program? If it's native code, look at http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Process.html and http:/