Download JDK 20 and Install on Windows 10 (64-bit)

In this article, you will learn how to download JDK 20 for Windows and install JDK 20 on Windows 10. To start developing Java applications, your system should have JDK (Java Development Kit) installed. This is the first step to begin the development of the Java application.

NOTE:
JDK is a java development kit whereas JRE is a java runtime environment that allows the java program to run. If you want to develop Java applications, install the Java Development Kit. The JDK includes the JRE, so you do not have to download both separately.

Other Java Downloads for Windows 10

Java 8Java 11Java 17Java 19Java 20, Java 21

Other Java Downloads for Windows 11

Java 8Java 11Java 17Java 19, Java 20, Java 21

Software Dependency to Install JDK 20

  • JDK 20
  • Windows 10

In this JDK installation guide, we will download JDK 20 for Windows and install it on the Windows 10 64-bit Operating System.

How to install JDK 20 on Windows 10?

To install JDK 20 on Windows 10, follow the below steps:

  1. Java JDK 20 download for Windows 10 64-bit
  2. Install JDK on Windows
  3. Set Java path in system environment variables
  4. Verify the Installed Java version

Step-1. Download Java JDK 20 for Windows 10 64-bit

To download Java for Windows, visit the official website of Oracle Download JDK 20 for Windows 64-bit, go to ‘Java SE Development Kit 20.0.1‘, and click on the link https://download.oracle.com/java/20/archive/jdk-20.0.1_windows-x64_bin.exe as shown in the below image.

Note: JDK 20 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions. The JDK 20 will receive updates under these terms, until September 2023 when it will be superseded by JDK 21.

Download JDK 20 for Windows

NOTE: Oracle requires an account (sign-in) to download older versions of Java that are no longer available to the public. You can download publicly available versions of Java without signing in which is the latest version only.

Step-2. Install Java JDK 20 on Windows 10

Once you have downloaded the JDK Software (jdk-20.0.1_windows-x64_bin.exe), double-click on it to see the start of installation. It will ask you permission to start, if you click the Yes button. Now you will see the below dialog, in that just click on the Next button to proceed.

download jdk 20 and install on windows 10

Once you click on the Next button you will see the below image, Here you have a choice to change the Java installation directory by clicking on the change… button otherwise go with the default path (C:\Program Files\Java\jdk-20) by clicking the Next > button. I am going here with the default path only.

Download JDK 20 for Windows and Install

Now you can see the installation of JDK 20.0.1 (64-bit) is in progress.

Download JDK 20 for Windows and Install

Once the installation process has been completed, click on the Close button to finish the installation.

Download JDK 20 for Windows 10 and Install

Step-3. Set Java Path in System Environment Variables

In this step, you have to set JAVA_HOME and Path in the System environment variables. To open the system environment variables dialog, you can type the ‘environment variable‘ in the Window search box and click on Edit the system environment variables as shown in the below image,

set JAVA_HOME environment variable on Windows 10

Now click on the Environment Variables button as follow, to open the Environment variable dialog.

set JAVA_HOME environment variable on Windows

In the Environment Variables dialog, click the New button to add the JAVA_HOME variable. You can set the value: C:\Program Files\Java\jdk-20 as you can take it from the installed directory as shown in the image.

JDK 20 installed directory in Windows 10

In the below dialog follow the sequence number to fill details,

JDK 20 | set JAVA_HOME environment variable on Windows 10

After that, you should update the Path variable as shown in the sequence number in the below image,

JDK 20 | set JAVA_HOME environment variable on Windows 10

Step-4. Verify the installed Java Version

In this step, we will verify the installed Java JDK version. To confirm the installation, first of all, you can open a Command Prompt. To open it, type ‘cmd‘ in the Window’s search box and click on Command Prompt as shown in the below image.

download JDK 20 for Windows and install

Once the Command Prompt is opened, type java -version and press Enter key. Now you will see the Java JDK installed version as below image.

download jdk 20 for windows and install and verify

Congratulations! Now in your Windows System, JDK 20 has been installed successfully. Now create the first Java Program Hello World!

Conclusion

In this article, you have seen how Java JDK 20 downloads for Windows and installed it. Now you can be able to do the installation of other versions of JDK also with a similar set of steps that you have seen.

Start learning Top Java Logical Programs now.

You may also like:

Share with friends

Leave a Comment

Your email address will not be published. Required fields are marked *