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.2binjavato the beginning in thePATHvariable. - Important – Open a new
cmdwindow and use the commandjava -version. Any already opencmdwindows do not reflect the settings that you do in the environment variables form/window.