This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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 ]