Search code examples
javawindowspathjavac

Path Variable Not Working


I tried everything, but I still can't get my Path working: javac.exe is not a recognized command

This is my PATH: Environment Variables

This is my environment variables: Not Working

My java bin folder contains java.exe

@David Wallace

Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Andy\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup>echo %PATH% c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C: \WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\Window sPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files\Intel\Intel(R) Manage ment Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Com ponents\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\D AL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Pro gram Files (x86)\Windows Live\Shared

C:\Users\Andy\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup>


Solution

  • I solved it. Instead of using a GUI to set the path, I used:

    Path = %PATH%;C:\Program Files\Java\jdk1.7.0_45\bin