nulldev
nulldev

Reputation: 95

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>

Upvotes: 1

Views: 8415

Answers (2)

nulldev
nulldev

Reputation: 95

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

Upvotes: 1

Njol
Njol

Reputation: 3279

You likely have to use a space, and not a percent sign, in the path to the jdk (no quotes required).

But I actually recommend to use an IDE (e.g. Eclipse) which will do the compiling for you (and help you code much faster).

Upvotes: 0

Related Questions