Windows 7, going crazy with environment variables

Posted by roymustang86 on Super User See other posts from Super User or by roymustang86
Published on 2011-11-15T17:03:11Z Indexed on 2011/11/15 17:55 UTC
Read the original article Hit count: 285

So, I am trying to learn java. I installed the JDK and proceeded to write a few programs. Each time, I have to give the path to javac.exe to compile the .java file.

SO, I decided to tweak the %PATH% variable.

And no matter what I change it to, it doesn't work.

when I do an echo %PATH%, I get 'Program' is not recognized as an internal or external command, operable program or batch file.

This is my Path variable contents : C:\app\product\11.1.0\client_1\bin;%CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;"C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\";"C:\Program Files\Broadcom\Broadcom 802.11";"C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\";"C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\";"C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\";"C:\Program Files (x86)\Roxio\OEM\AudioCore\";"C:\Program Files (x86)\Intel\Services\IPT\"

How do I work around this? the double quotes were not there before, I added it thinking the space was the problem.

© Super User or respective owner

Related posts about windows-7

Related posts about java