Download and Install Oracle JDK 18 on Windows
- Details
- Written by Nam Ha Minh
- Last Updated on 14 April 2022   |   Print Email
1. Download Oracle JDK 18 Installer for Windows
Click this link to head over to the official download page of Oracle JDK for Windows. Then click on the last link to download the x64 MSI installer:
You will be asked to download the file jdk-18_windows-x64_bin.msi. After download, it’s recommended to verify the integrity of the downloaded file. Open a new command prompt, change the current directory to the one that contains the downloaded file. Then type the following command:certutil -hashfile jdk-18_windows-x64_bin.msi sha256
Then compare the printed SHA256 checksum against the one published in the sha256 link, which is next to the download link. If both are identical, you’re safe to use the installer.
2. Install Oracle JDK 18 on Windows
Double click on the .msi file to launch setup program for Oracle JDK 18:
This means Oracle JDK 18 has been successfully installed on your Windows computer. If you don’t see this, try to set JAVA_HOME manually. 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
About the Author:
Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He began programming with Java back in the days of Java 1.4 and has been passionate about it ever since. You can connect with him on Facebook and watch his Java videos on YouTube.
Comments