To install Java on Windows 10 you need to go to the official Oracle download page and click on the major version of Java (currently the newest version is Java SE 11.0.2 LTS).
Accept a license agreement and click on jdk-9.0.4_windows-x64_bin.exe to download it:
Launch installer when it is downloaded.
Press “Next” again and wait until installation will complete:
Java installer offers you to install JDK:
Press “Next” and installation will be started:
And finally, Java successfully installed:
You can check Java version via Command Prompt in Start menu or you can run it via right-click on Start menu – Run – cmd.
Type java -version.
| || |
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)