Fix: Javac is not recognized on Windows

Originally published at: Fix: Javac is not recognized on Windows

“Javac is not recognized as an internal or external command” is an error often encountered by people trying to compile Java programs on Windows using Command Prompt. It’s might also be encountered when users try to check the current version of the primary Java compiler. What is JavaC? Javac (pronounced “java-see”), is the main Java compiler…

Thank you!

same, did any of you find the fix to the problem?

With me the same. It was after I had to remove a driver.
the command java was still working but javac not.
A reboot fixed the problem

Revisit the previous steps, you have failed to properly set up the environment variable.

In the System Variables "set “PATH=%PATH%;C:Program FilesJavajdk-10bin”

Have exactly the same issue. JDK is installed fine and environment variables set as instructed but javac not recognised. Can anyone help with this? (Using Windows 10)