It will download the binary distribution of OpenJDK 17 as a ZIP archive file. Then you should type the following command to verify the SHA256 checksum of the downloaded file:certutil –hash openjdk-17_windows-x64_bin.zip SHA256
Compare the SHA256 value produced by this command against the value posted on the website, in the corresponding sha256 link. If they are identical, it’s safe to use the downloaded zip file.setx –m JAVA_HOME “D:\OpenJDK17\jdk-17”
setx –m PATH “%JAVA_HOME%\bin;%PATH%”
Note that you must execute these commands with administrator right. Follow this article to learn more.
If you see this screen, it means that OpenJDK 17 has been successfully installed.To see the steps in action, watch the following video:
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.