How to download & install Java 15 on Windows 10

Java 15 released on 15th September, 2020. With that, the need of its usage is scaling high these days. In this article, we will learn how to install Java JDK 15 on Windows 10 OS. With that, to avoid any hassles in future, we will also let you know how to verify the installation.

Download Java JDK 15

To download Java 15, go to Oracle’s official website and click “Download Java“:

Download Java JDK 15 Windows

Now, click “JDK Download” to download:

Click Java JDK 15 Download to download

Now, the Downloads page will be visible.

Go to the bottom of the page, and click on the Windows installer i.e. “jdk-15_windows-x64_bin.exe” as shown below:

Download Java Windows 10 Installer

Note: Java JDK 15 will get installed only on a 64-bit Windows 10 system

Just wait for few minutes till the download finishes. The downloaded jdk exe file will get saved in the “Downloads” folder.

Install Java 15

Now, go to “Downloads” folder on your Windows 10 system and double click on the “jdk-15_windows-x64_bin.exe” file:

Double click JAVA JDK 15 exe file

Double click on the exe file and the installation begins. Click on “Next“:

Java JDK 15 Installation begins

After clicking Next, the following is visible. Set the path wherein the Java 15 directories and files will get installed.

You can also keep it the default i.e. here it will install under the following path”C:\Program Files\Java\jdk-15“:

Set the Java 15 installation path

Click on “Next” above and the installation continues for some minutes:

Java JDK 15 installation continues

The installation finishes as in the following screenshot.

Click on “Close“:

Java 15 installed

Now, let us set the JDK path.

Set Java JDK Path (Environment Variable)

At first, copy the path wherein you installed the Java JDK. Let us copy it first. Remember, we need to copy the bin path i.e. the following on our system:

Here’s the screenshot of the “bin” path, wherein we installed Java 15:

Set JAVA JDK 15 PATH

To set JDK Path, the easiest way is to type “Environment Variables” on Start. On typing, the following would be visible:

Edit system environment variable

Now, click on “Edit Environment Variables” and a new dialog box would be visible:

Environment Variables under System Properties

Now, click “Environment Variable” and a new dialog box will open.

Go to “System Variables” section and double click “Path” as in the below screenshot:

Set Path for System Variables Windows 10

Now, the steps are displayed as a list marked in the below screenshot:

  1. On double-clicking “Path“, a new dialog box will open.
  2. From there, click “New”,
  3. Add the Java JDK path “C:\Program Files\Java\jdk-15\bin
  4. Press Ok. Repeat the same for all the opened dialog boxes.

This ends the installation and the procedure to set path for JDK. Now, we will verify the JDK installation.

Verify Java JDK 15 Installation

We saw how to install Java JDK 15 above. We installed on Windows 10 OS. Now, we can easily verify whether the installation was successfully or not using the following command:

Note: Type “cmd” on “START”. Right-click and open with administrator as shown below:

Open cmd and run as administrator

Let us implement the command java -version on command prompt (cmd) and verify Java installation:

Verify Java 15 installation

If the above is visible, that would mean you have successfully installed Java 15 on Windows 10.

In this tutorial, we saw how to install Java 15 on Windows 10. After installation, we also set the JDK path, without which the system won’t run Java programs. At the end, we verified the installation of Java JDK 15 successfully.

Here’s the YouTube video for the steps we saw above to install Java 15 on Windows 10:

If you liked the tutorial, spread the word and share the link and our website Studyopedia with others:

Support us: DONATE


Read More:

How to Convert binary to decimal in Java
How to download and install Java 15 on macOS
Studyopedia Editorial Staff
contact@studyopedia.com

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading