How to install Java JDK 11 on Windows 10

Overview

In this tutorial, we show you how to install Java JDK 11 on Windows 10 and setting JAVA_HOME.


How to install Java JDK 11 on Windows 10

Java 11.0.1 64 bit Download

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

Installing Java JDK on windows 10

Double-click the JDK installer  "jdk-11.0.1_windows-x64_bin.exe" file. The installer’s Welcome screen will appear.
Installing Java jdk on windows 10
Click "Next" to continue.
Installing Java jdk on windows 10
Click "Close" when the installation is complete.

Installing Java jdk on windows 10

How to set Java JDK 11 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.

set Java path in Windows 10
In System variables, find PATH, clicks Edit... and append this %JAVA_HOME%\bin to the start. Then Click OK.
set Java path in Windows 10
Open a command prompt

Open a command prompt
Type "java -version" and "javac -version"

java -version
javac -version

References



Previous Post
Next Post

post written by: