If you wanted some quick information on RedHat’s OpenJDK, I put some links together for you. I’m working on a Windows machine so the following is a list of downloads for Windows.
As of this posting, the following latest versions are available for download:
- OpenJDK 8u222 x64 (zip)
- OpenJDK 8u222 x64 (msi)
- JRE 8u222 x64 (zip)
- OpenJDK 8u222 x86 (zip)
- OpenJDK 8u222 x86 (msi)
- JRE 8u222 x86 (zip)
- OpenJDK 8u222 Source Code (zip)
- OpenJDK 11.0.4 x64 (zip)
- OpenJDK 11.0.4 x64 (msi)
- OpenJDK 11.0.4 Source Code (zip)
- OpenJDK 12.0.2 x64 (zip)
- OpenJDK 12.0.2 x64 (msi)
- OpenJDK 12.0.2 Source Code (zip)
They also have older versions available for download but the above list contains the most updated versions. The release date for the above list is August 8th, 2019
Developer’s Download: https://developers.redhat.com/products/openjdk/download
Getting Started on Windows Guide: https://access.redhat.com/documentation/en-us/openjdk/11/html/openjdk_11_for_windows_getting_started_guide/index
Use can use PowerShell to update your Environment variables.
# Version 11
$path = [System.Environment]::GetEnvironmentVariable('PATH', 'Machine')
$JavaInstallBinDir = "C:\Progra~1\RedHat\java-11-openjdk-11.0.1.13-1\bin"
$path += ";$JavaInstallBinDir"
[Environment]::SetEnvironmentVariable("PATH", $path, "Machine")
$JavaInstallRootDir = "C:\Progra~1\RedHat\java-11-openjdk-11.0.1.13-1"
[Environment]::SetEnvironmentVariable("JAVA_HOME", $JavaInstallRootDir, "Machine")
Or if you wanted to go with command prompt for version 11
setx /m PATH "%PATH%;C:\Progra~1\RedHat\java-11-openjdk-11.0.1.13-1\bin"
setx /m JAVA_HOME "C:\Progra~1\RedHat\java-11-openjdk-11.0.1.13-1"