Have been using Java for about 4 months now. Had no problems before compiling files on the CMD. However now when ever i try to run javac filename.java i get this error.
'javac' is not recognized as an internal or external command, operable program or batch file.
I have checked my Environment Variables and initially only had extensions to jre.
Have now added a new System variable which is "C:\Program Files\Java\jdk1.6.0_20\bin" but am still getting the same error message.
Also restarted my system.
Any help would be appreciated.
Win Vista 32bit