Check JAVA-HOME in Command Prompt – CMD

Configurare noua (How To)

Situatie

Configuration setup using CMD

Solutie

Pasi de urmat

To test your configuration, open Command prompt.

Type echo %JAVA_HOME% and hit Enter. This should print the directory of the JDK which the JAVA_HOME is pointing. Instead, if you see a space, it means you have failed in setting up environment variable.

Next Type javac -version which should print the version of Java compiler.

If not it will print a message that the javac is not recognized as an internal or external command. This means the path variable is not set correctly.

Tip solutie

Permanent

Voteaza

(9 din 26 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?