How to install Java 10 in Windows 10 - Install Java JDK 10 Step by Step

Overview

In this tutorial, we show you how to install Java JDK 10 on Windows 10 step by step.




How to Install Java JDK 10 on Windows 10


Watch Install Java in Windows 10


Java 64 bit Download

Go to Oracle Java SE Downloads to download the java latest version.
Click the "Download" button beneath "JDK". This will open the Java SE Development Kit 10 Downloads Page.
Oracle Java SE Downloads Page



Check the option to "Accept License Agreement", and click the download link "jdk-10_windows-x64_bin.exe".
Java SE Development Kit 10 Downloads

Installing Java jdk on windows 10

Double-click the JDK installer  "jdk-10_windows-x64_bin.exe" file. The installer’s Welcome screen will appear.
The installer’s Welcome screen


Click "Next" to continue.

Installing JDK


Click "Next" to accept the default installation settings.

java custom setup



Click "Next" to continue and Click "Close" when the installation is complete.

installation is complete

How to set Java path in Windows 10?

Set JAVA_HOME Windows 10. Type "Environment Variables" in the search box (beside the Windows start button), clicks "Edit the system environment variables".

search Environment Variables


Clicks Environment Variables under Advance tab

Environment Variables


In System variables, add a new JAVA_HOME variable and point it to the JDK installed folder.
add a new JAVA_HOME variable


In System variables, find PATH, clicks Edit... and append this %JAVA_HOME%\bin to the start. Then Click OK.
Update PATH


Open a command prompt, type "java -version" and "javac -version"

C:\Users\Admin>java -version

java version "10" 2018-03-20

Java(TM) SE Runtime Environment 18.3 (build 10+46)

Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)


C:\Users\Admin>javac -version

javac 10


C:\Users\Admin>

References

Previous Post
Next Post

post written by: