Install Java JDK on Microsoft Windows - Java 21

preview_player
Показать описание
BEST SELLING UDEMY COURSE: Spring Boot and JPA/Hibernate (400+ videos)

----

Follow luv2code for more Java tutorials:

Рекомендации по теме
Комментарии
Автор

Quick note: You have to restart your console. Otherwise it will not find your freshly installed java. So just close it, type "cmd", press enter and retype "echo %JAVA_HOME%". Now you will find your java. Same with version command :)

HupfDole
Автор

And when the world needed him most... he returned

coreyeverett
Автор

Always having good ways of explaining things. Good to hear from again. Its been long.

johnkimotho
Автор

This man is endgame boss of programming.

filipstojiljkovic
Автор

I get the error:
java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Any ideas guys? :(

dovydasbalciunas
Автор

Apparently, you have to use the command java -version instead of java --version on windows.

dovydasbalciunas
Автор

C:\Users\785028>java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

abimanyu