Skip to content

javac-not-recognized

1 Post

'javac' is not recognized but java -version works: the fix

'javac' is not recognized while java -version works means the java on your PATH belongs to a JRE or a launcher folder with no compiler next to it. How to prove it in two commands, and the fix for Windows, Linux, macOS and Docker.