Launch JVM process from a Java application use Runtime.exec? -


I start a Java server process from an existing Java application and monitor stdoutput and stderror and redirect that output. Want to be able Runtime to a file 'runtime. XAC is the best way to use and treat the app like any other OS process or something more suitable for new JVM.

It is on Java 1.5

runtime Instead, you should probably use it, though I do not know that something is more appropriate in your case (especially running a Java process).


Comments