Chapter 2. Installing Eclipse Temurin by using an archive


You can manually install Eclipse Temurin from the Red Hat Customer Portal by using an archive file.

Procedure

  1. From the Red Hat Customer Portal, download the JDK or JRE archive that corresponds to OpenJDK 25 for Windows.
  2. Extract the contents of the archive file to a folder of your choice.

    Note

    Extract the contents of the archive to a folder path that does not contain spaces.

  3. Update the PATH as below:

    1. Add the bin folder contained in your OpenJDK installation path to the %PATH% environment variable:

      C:\> setx /m PATH "%PATH%;C:\Progra~1\RedHat\java-25-openjdk-<version>\bin"

      If the path contains spaces, use the shortened path name.

    2. Restart the command prompt to reload the environment variables.
  4. To verify that OpenJDK is successfully installed, run the java -version command at the command prompt.
  5. The %JAVA_HOME% environment variable must also be set to use some developer tools. Set the %JAVA_HOME% environment variable as follows:

    1. Open the command prompt as an administrator.
    2. Set the value of the environment variable to your OpenJDK installation path:

      C:\> setx /m JAVA_HOME "C:\Progra~1\RedHat\java-21-openjdk-<version>"

      If the path contains spaces, use the shortened path name.

    3. Restart the command prompt to reload the environment variables.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top