You know, Java 16 was release on March 2021 with the notable language features are Pattern matching for instanceof operator and Records. And as usual, Oracle offers 2 distributions of Java Development Kit (JDK): Oracle JDK (OTN license) and OpenJDK (GPL license).

In this post, I’d like to guide you how to download and install Oracle JDK 16 on Windows operating system.

 

1. Download Windows installer for Oracle JDK 16

Go to the Oracle’s JDK 16 download page, and choose to download Windows x64 Installer, as shown below:

Java SE 16 download page

It will download the jdk-16.0.1_windows-x64_bin.exe file on to your computer. And it’s strongly recommended to verify SHA256 checksum of the downloaded file before installing, by using this command in a command prompt window:

certutil -hashfile jdk-16.0.1_windows-x64_bin.exe SHA256

And it’s safe if it outputs the following value:

fc856103e489b7942275464a546ad810a28de90260a940f63316585e2af001c6

Then you’re ready to install Oracle JDK 16 on your Windows computer.

 

2. Install Java 16 with Oracle JDK



Run the downloaded file to launch the setup program for Oracle JDK 16:

Oracle JDK 16 Setup

Click Next two times to proceed the installation on the default location (C:\Program Files\Java). It will be very quick. And click Close to complete the setup of JDK 16. Note that the setup program will update the system environment variable PATH accordingly.

Now open a new command prompt window and type java –version, you should see the output like this:

java version command JDK 16

Also type javac –version to check the version of Java compiler:

Java compiler version 16

That means you have successfully installed Oracle JDK 16 on your Windows operating system.

You can also watch the following video for installing Oracle JDK 16 step by step:

 

Learn more:


About the Author:

is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on Facebook and watch his Java videos you YouTube.



Add comment

   


Comments 

#5faiz2022-11-30 04:01
me parece bueno este programa
Quote
#4isaac2022-06-13 11:06
me parece bueno este programa
Quote
#3Phakiso Nkomo2022-06-01 05:46
java jdk app that i will use in future
Quote
#2ProOyuncu2022-04-24 04:16
merhaba ben yeni katıldım
Quote
#1Sasuke2022-04-16 15:04
5 estrellas a app web
Quote