hello..... if you have installed editplus, then you have to follow this steps to give the path of your jdk.1.6:- 1. Click on the tools and select preferences 2. Click Add Tools button and select program. Give Program name in Menu text(ex: compile). 3. In Command Field select the path of the compiler(Ex:C:\Program Files\Java\jdk1.5.0_05\bin\javac.exe). 4. In Arguments field click on file name. 5.In Initial Directory field click on file directory. 6.mark options capture output and save open file and select apply. 7.repeat step 2 for adding a new program .(ex: Run) 8.then repeat step 3.(ex: C:\Program Files\Java\jdk1.5.0_05\bin\java.exe). here we select java.exe, not javac.exe. 9.In Arguments field click on file name without extension. 10.repeat step 5 and 6. 11. select View from main option and mark on user toolbar. 12. Ctr+1 for compilation and ctr+2 for running .