Here is my path :
C:\Program Files\ICW>path PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program Files\Mi crosoft SQL Server\90\Tools\binn\C:\Program Files\TortoiseSVN\bin;F:\downloads\a gntctrl.win_ia32-TPTP-4.7.1a\bin; C:\Program Files\Java\jdk1.7.0_02\bin;
and javac is not recognized :
C:\Program Files\ICW>javac 'javac' is not recognized as an internal or external command, operable program or batch file.
So I cd to directory to prove it works:
C:\Program Files\ICW>cd "C:\Program Files\Java\jdk1.7.0_02\bin"
and it works
C:\Program Files\Java\jdk1.7.0_02\bin>javac Usage: javac <options> <source files> where possible options include: -g Generate all debugging info
BUT the Java app(?) in control panel (which I have never seen/used before) shows the jre is installed, and everytime I try and reference the jdk it just overwrites it, see below. I am embarrased to admit I have over 10 years experience as a java developer ... which btw is unaffected, eclipse/maven are picking up jdk correctly. Its just the windows command prompt.