Download and Install Oracle JDK 22 on Windows
- Details
- Written by Nam Ha Minh
- Last Updated on 20 June 2024   |   Print Email
1. Download Oracle JDK 22 Installer for Windows
Oracle JDK 22 is distributed as Zip archive, EXE and MSI installer for Windows. It’s recommended to choose EXE/MSI installer which will make the installation process a breeze. Click this link to visit the official download page of Oracle JDK, you will see the following page appears:
2. Verify Installer File
Before launching the installer, it’s strong recommended to verity integrity of the installer file to make sure it is not tampered with. So open a new Command Prompt window, use the cd command to change the current directory to the location of the installer file. Then type the following command to get SHA256 checksum of the file:certutil -hashfile jdk-22_windows-x64_bin.exe sha256
Compare the SHA256 hash value printed by this command against the one published on the download page (click the link marked number 2). You can use the installer file safely if both are identical. Otherwise you may need to re-download the installer.
3. Install Oracle JDK 22 on Windows

4. Verify Oracle JDK 22 Installation on Windows
Open a new Command Prompt window, and type java -version and javac -version to check version of Java virtual machine and Java compiler, respectively. You will see the following output:
Related Articles:
- How to set JAVA_HOME in macOS and Linux permanently
- How to set JAVA_HOME environment variable on Windows 10
- What are JVM, JRE and JDK
- How to write, compile and run a hello world Java program for beginners
- Java Core Language Tutorials
About the Author:

Comments
Java Development Kit
Raed