| Author |
How to call a java prog. from another one
|
Jolly Ag
Greenhorn
Joined: Oct 30, 2002
Posts: 22
|
|
Hi Friends I need to call a java program from another java program ...can u friends please tell me how i can do it . Tx.
|
 |
Mark Herschberg
Sheriff
Joined: Dec 04, 2000
Posts: 6037
|
|
java.lang.Runtime.exec() You can use this to call external programs, or pretty much do anything you would do from the command line. So to start a new Java program, you could call "java -classpath... mypackage.MyClass" --Mark
|
 |
 |
|
|
subject: How to call a java prog. from another one
|
|
|