Sitemap

Installing JDK 16 on your computer

May 7, 2021

This story is going to walk through the installation for JDK 16 for further stories.

  1. Go to http://jdk.java.net/16/
  2. Download the zip file for Windows / x64
  3. Extract the folder to your drive. For my preference, I will unzip the file to C:\Program Files\Java\
Press enter or click to view image in full size

4. Set up the environment variables for JAVA_HOME. Open “Settings” and search for “View Advanced System Settings”. Click “Environment Variables” and add a variable on “System variables” section with JAVA_HOME as the variable name and “C:\Program Files\Java\jdk-16.0.1” as the variable values.

Press enter or click to view image in full size

5. Set up the environment variables for PATH. Edit the Path variable in “System variables” section. Append “C:\Program Files\Java\jdk-16.0.1\bin\” as the variable values.

Open cmd.exe / Powershell and type “java -version”. You may check that the JDK 16 is installed.

These should be the general settings for JDK on a Windows machine.

--

--

Michael Ho
Michael Ho

Written by Michael Ho

Just some random shits faced in my job

No responses yet