This discussion is archived
1 Reply Latest reply: Jun 21, 2010 12:43 AM by PhHein RSS

Can't compile files on Windows CMD line.

843810 Newbie
Currently Being Moderated
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 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