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.. ...
If you two don't stop this rough-housing somebody is going to end up crying. Sit down and read this tiny ad:
SKIP - a book about connecting industrious people with elderly land ownershttps://coderanch.com/t/skip-book