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

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.


Want to improve this question? Update the question so it’s on-topic for Stack Overflow.

Closed 7 years ago.Improve this question

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