I have recently uninstalled JDK 11 and installed JDK 8. For confirmation, I want to check which JDK is installed on my Windows 10
You need to update your Windows path
to include your %JAVA_HOME%\bin
directory. %JAVA_HOME%
is the directory that you installed Java into and is also an environment variable that you need to configure for command line execution of your applications. You can edit both of these in the Windows control panel and you should restart.
When you run java -version
you will see the internal version number. This is explained here: https://en.wikipedia.org/wiki/Java_version_history.
Basically, you can ignore the 1.
when reading version number. The _xxx
is a reference to the most recent patch or build release.