I tried to install java 14 manually on Windows 10. I set the System Variables as in this picture.
But when I use the command “java -version” literally nothing happens…
C:WINDOWSsystem32>java -version C:WINDOWSsystem32>
Something must be wrong, but I can’t figure what…
Advertisement
Answer
- Move
C:Program FilesJavajdk-14.0.2binjava
to the beginning in thePATH
variable. - Important – Open a new
cmd
window and use the commandjava -version
. Any already opencmd
windows do not reflect the settings that you do in the environment variables form/window.