Installing Oracle JDK/Java 22 on Windows 10/11

Java/JDK 22 is released with the new features and update. In this tutorial we are going to show you the steps to install it on Windows 10/11.

Installing Oracle JDK/Java 22 on Windows 10/11

Installing Oracle JDK/Java 22 on Windows 10/11

If you are getting started with Java then installing Java/JDK is the first step. At the time of writing of this tutorial Oracle Java/JDK standard edition version 22 is the latest version. We are explaining to you the steps of Installing Oracle JDK/Java 22 on Windows 10/11.

Java/JDK 22 comes with many new features like Scoped Values, Stream Gatherers, Structured Concurrency, Statements Before Super, Class-File API and others. Java 22 was one of the most awaited versions of Java in 2024 and this was released in March 2024. In this section we will first install JDK 22 and in the next section we will show you the features of Java 22 with examples.

Downloading Oracle Java/JDK 22

Latest version of Oracle Java can be downloaded at https://www.oracle.com/java/technologies/downloads/. From this website you can download Java/JDK 22 for following operating systems:

  • Linux
  • macOS
  • Windows

We have recorded the complete steps of installation of Oracle JDK/Java 22 on Windows 10 computer. In the video we are showing the steps to download Java from Oracle website, install on Windows 10 and finally test the java installation. This video tutorial will show you all the steps you have to do to successfully install Oracle JDK 22.0 on your Windows operating system.

Video: Installing Java/JDK 22 on Windows 10/11

Here is the screen shot of the Oracle Java Download page:

Download Oracle Java 22.0

Select the x64 MSI Installer link to download Oracle Java 22 for windows. After clicking on the download link jdk-22_windows-x64_bin.msi  will be downloaded. The jdk-22_windows-x64_bin.msi is an installer file for installing Java/JDK 22 on Windows 10/11 operating system. After completion of download double click jdk-22_windows-x64_bin.msi file to start the installation process.

Following screen shot shows the beginning of Java/JDK 22.0 installer:

Oracle JDK/Java 22 Installer

Click next and follow the steps until you get the option to provide path to install JDK on your computer as show below:

Java 22 Installation path

Leave the default location for installation of Java or you can also change the path. Follow the installer and complete the installation process.

After completion of installation open command prompt in your system and then type

java -version

Above command should display the version of Java installed and in this case Java 22 as shown below:

Check Java version installed

In this tutorial we have learned the steps to download Oracle Java/JDK 22 and install on Windows 10/11.

Resource: