Manoj Garg wrote:
these double quotes shouldn't be there.
My aim is to run a java program from another one.
Manoj Garg wrote:I am trying to complile and then run the program.
Manoj Garg wrote:Then we catch the result using Input Streams.. Is my approach not right?
Normally if we are working in windows and not using any IDE then we do open a command promt, compile a java program then run it...
I hardcoded the dir command and it worked.. but when i hardcoded javac and entered the java file name it didn't work.. ...
What are your superhero powers? Go ahead and try them on this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|