f



Automate program execution problem (Runtime.exec("java" + " Hello.java"); #2

I want to automate the program compilation and execution.

I used  Runtime.exec("javac" +" Hello.java"); for compilation the
program compiled successfully.
in the next liine i gave Runtime.exec("java" + "Hello"); This statement
dosen't performs execution.

Anybody knows tell me the solution for this problem

By
Seenu

0
seenuonnet (11)
1/24/2006 1:01:19 PM
comp.lang.java.programmer 52714 articles. 1 followers. Post Follow

0 Replies
624 Views

Similar Articles

[PageSpeed] 43

Reply: