Download Red Hat build of OpenJDK for Windows

The Red Hat build of OpenJDK is an open source implementation of the Java Platform, Standard Edition (Java SE).

Windows

Install OpenJDK on Windows:

  1. Download the installer here
  2. Download the package and install it manually:
    1. Download the file here.
    2. Extract the contents of an archive to a directory of your choice.
    3. Set the path: 

      C:\> setx /m PATH
                      ​​​​​​​"%PATH%;C:\Progra~1\RedHat\java-17-openjdk-17.0.0.0.35-1\bin"
    4. Set the Java Home:

      C:\> setx /m JAVA_HOME 
                      "C:\Progra~1\RedHat\java-17-openjdk-17.0.0.0.35-1"


Install on Windows with Chocolatey:

choco install temurin