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.. ...
Straws are for suckers. Now suck on this tiny ad!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|