Launch a new java app from a java program




I want to write a java program A to launch another java app B. I hope I
could configure the argument of VM to launch java app B, just like what
Eclipse JDT does.(Eclipse is a java program, and it could launch other
java apps.) I do not want to create a new thread for java app B. I
prefer to run java app B on another process separately.

How could I do this?

Best Regards

--
Yao Qi <qiyaoltc@xxxxxxxxx> GNU/Linux Developer
http://duewayqi.googlepages.com/

"The world is beating a path to our door"

-- Bruce Perens, (Open Sources, 1999 O'Reilly and Associates)
.



Relevant Pages

  • java runtime.exec, is this possible?
    ... I would like my java app to launch an external program. ... I would like my java app to launch it as it's own separate process. ... I would like a new window to appear, ...
    (comp.lang.java.programmer)
  • Re: Launch a new java app from a java program
    ... clarified that this task needs to be done in a separate JVM. ... "I want to write a java program A to launch another java app B. I hope I ...
    (comp.lang.java.programmer)
  • Re: java runtime.exec, is this possible?
    ... Knute Johnson wrote: ... I would like my java app to launch it as it's own separate process. ... I would like a new window to appear, ...
    (comp.lang.java.programmer)
  • Re: Recommendations?
    ... > Where might I find reference stuff about how to launch a ... > JAVA app via CGI? ... but it appears that I may need to get some CGI ... You could write a simple piece of Perl ...
    (perl.beginners)
  • Re: java runtime.exec, is this possible?
    ... I would like my java app to launch it as it's own separate process. ... I would like a new window to appear, ...
    (comp.lang.java.programmer)