Edited PATH but javac still won't work
843785Aug 14 2008 — edited Aug 14 2008Day 1 of trying to learn Java and I'm stumbling out of the gate -
I'm using Windows XP and edited the PATH using Control Panel>System>Advanced>Environment Variables
The path in the Edit box now looks like this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Wave Systems Corp\Dell Preboot Manager\Access Client\v5\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Java\jdk1.6.0_07\bin
However, looking at the path using the Command Prompt, I get this:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Wave Systems Corp\Dell Preboot Manager\Access Client\v5\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\j2sdk1.6._05\bin;C:\jdk1.6.0_07\bin;C:\jdk1.6.0_07\bin
javac is in jdk1.6.0_07\bin, and I'm not using j2sdk1.6._05. If I understand correctly, the path is read from right to left, and any java path after the first one is ignored. If this is correct, I need to get rid of the j2sdk..path, right? But I'm not sure how to do it.
Thanks.