Originally posted by Amir Iqbal: just comment that line..... yar it will fix all the errors... coz it is just a debugging statment....
Joe's intention was not for him to fix your code but to make you realise the importance of Posting real code. Anyone over here can fix your code of compilation error but the point is that you must post your question clearly. It wastes the time of the people trying to help you if your code has compilation errors.
The other compilation error Joe is talking about isnt a debug statement, but it is the core of your program execution, you are calling when is not defined.
ExecuterClass2.java:76: cannot find symbol symbol : variable cmd location: class ExecuterClass2 Process proc = rt.exec(cmd); ^
BTW, this code is directly out of this article If you are having problems understanding some article or sample code, then please QuoteYourSources [ August 18, 2008: Message edited by: Nitesh Kant ]