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.
Hi, Follow this steps:- 1)Search javac.exe. 2)Then from command prompt go to the directory in which you have saved the program. 3)for example if you found javac.exe in c:\program files\java\jdk1.5.0_12\bin and you saved java program file in c:\priya> then give following command c:\priya>set path=%path%;c:\program files\java\jdk1.5.0_12\bin;.; press enter 4)for classpath give following command c:\priya>set classpath=%classpath%;c:\program files\java\jdk1.5.0_12\bin;.; press enter.