Download and Install Oracle JDK 21 on Windows
- Details
- Written by Nam Ha Minh
- Last Updated on 01 December 2023   |   Print Email
1. Download Windows Installer for Oracle JDK 21
It’s strongly recommend to download Oracle JDK installer from an authentic source. Go to the official Java downloads page, and click Windows section. You will see the following page:Here, you can download zip archive, EXE installer or MSI installer. I recommend you use EXE installer that updates environment variable automatically, which makes the installation simple and easy.So click the download link next to x64 Installer (1). It will download the EXE installer for Oracle JDK 21 (file name: jdk-21_windows-x64_bin.exe).Before opening the setup program, it’s strongly recommended to verify integrity of the downloaded file by checking its SHA256 checksum value. Open a new Command prompt window and change the current directory to where the file is downloaded. Type the following command:certutil -hashfile jdk-21_windows-x64_bin.exe sha256
Then compare the SHA256 checksum value printed by this command against the value published on the download page (click link 2 as shown in the above screenshot). If both values are identical, you can proceed next.
2. Install Oracle JDK 21 on Windows
Learn more:
- How to check Java version
- Java SE versions history
- How to set JAVA_HOME environment variable on Windows 10
- How to set environment variables for Java using command line
- How to write, compile and run a hello world Java program for beginners
- What are JVM, JRE and JDK
Comments