JDK 18 is a regular update of Java Development Kit, which was released on March 22nd 2022 - with notably updates like UTF-8 by Default and Simple Web Server.

In this article, I’d like to share with you how to download and install Oracle JDK on Windows operating system. Oracle JDK is a commercial distribution of JDK under the Oracle No-Fee Terms and Conditions. Oracle JDK is free to use in production.

 

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:

download page of oracle jdk 17

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:

oracle jdk 18 setup



Just click Next few times to proceed. The installation of Oracle JDK 18 is simple and quick. It also updates the system environment variable PATH so you should open a new command prompt window to verify - by typing java -version and javac -version commands:

java version command

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:


About the Author:

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.



Add comment

   


Comments 

#4Venkata sainath2024-06-03 03:32
please download java18 version
Quote
#3asong baron2023-12-18 17:55
all about testing and finding out how it works
Quote
#2Edgar2022-07-07 21:10
-Estoy usando un servidor de pruebas para ejecutar una cronica del juego L2
Quote
#1amanuel sisay2022-05-19 04:08
hi what up bro please can i gate jdk file
Quote