javac is not recognized as an internal or external command, operable program or batch file [closed]

I am experiencing an error while trying to compile Java programs.

I am on Windows (this is a Windows-specific problem) and I have the latest JDK installed.

I have attempted a solution involving the PATH variable, but the error persists.

Console output:

C:\>set path=C:Program Files (x86)\Java\jdk1.7.0\bin
C:\>javac Hello.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

Leave a Comment