Re: Launch a new java app from a java program
- From: bencoe@xxxxxxxxx
- Date: Fri, 29 Jun 2007 09:35:28 -0700
On Jun 29, 12:30 pm, Yao Qi <qiyao...@xxxxxxxxx> wrote:
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 <qiyao...@xxxxxxxxx> GNU/Linux Developerhttp://duewayqi.googlepages.com/
"The world is beating a path to our door"
-- Bruce Perens, (Open Sources, 1999 O'Reilly and Associates)
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#exec(java.lang.String)
Runtime.exec("command");
will probably do the trick.
-----
Ben
http://www.plink-search.com
.
- Follow-Ups:
- Re: Launch a new java app from a java program
- From: Steve W. Jackson
- Re: Launch a new java app from a java program
- References:
- Launch a new java app from a java program
- From: Yao Qi
- Launch a new java app from a java program
- Prev by Date: Launch a new java app from a java program
- Next by Date: Re: New Java Site
- Previous by thread: Launch a new java app from a java program
- Next by thread: Re: Launch a new java app from a java program
- Index(es):
Relevant Pages
|