Today September 15 Java 15 is now available as General Availability (GA). Oracle OpenJDK 15 is available to download under GNU General Public License v2 with Class Path Exception (CPE). In this blog post, we are going to see how to install JDK 15 in Windows operating system.
How to download Java 15 and validate sha256?
Pay a visit to https://jdk.java.net/15/ and then click on respective download link under
Builds as shown below. In our case, it is
Windows/x64. Click on the zip file to download.
After downloading the zip file, it is time to validate the sha256. Power up your terminal and enter the below command to get the file hash.
Get-FileHash <path to your zip file>
Java is 25 years young
How to configure the environment variable for Java 15 in Windows?
In Windows search box, type
environment and then click on
Edit the system environment variables as shown below.
Environment Variables... button in
User variables double click on
Path and add the path of the extracted zip file of OpenJDK as shown below. Click on OK to configure the path.
After configuring path, add
System Variable as shown below.
Alternatively, you can map the JAVA_HOME variable in the Path as shown below.
How to validate the configuration?
Launch Powershell or Command Prompt and enter the below command.
If the path is set correctly, you will get the latest version information which is OpenJDK 15 as shown below.
If you are working in JMeter, you upgrade to OpenJDK 15 and validate your JMeter infrastructure.
Below are the new features of JDK 15.
Features of JDK 15
Have you upgraded to JDK 15? Please share me your experience in the comment section.