Where is the javac executable located? If, for instance, it's in 'C:\jdk1.6.0_03\bin' then to run it you have to type 'C:\jdk1.6.0_03\bin\javac'. If you don't want to have to type the full path, then (assuming you're using Windows), learn about the Command Prompt and the PATH variable.