Questo contenuto non è disponibile nella lingua selezionata.

Chapter 3. Installing Red Hat build of OpenJDK 8 for Microsoft Windows with the archive


This procedure describe how to manually install Red Hat build of OpenJDK 8 for Microsoft Windows using the archive.

Procedure

  1. Download the archive of Red Hat build of OpenJDK 8 for Microsoft Windows.
  2. Extract the contents of the archive to a directory of your choice.

    Note

    Extracting the contents of the archive to a directory path that does not contain spaces is recommended.

  3. Update the PATH as below:

    1. Add the bin directory contained in your Red Hat build of OpenJDK 8 for Microsoft Windows installation path to the %PATH% environment variable:

      C:\> setx /m PATH "%PATH%;C:\Progra~1\RedHat\java-1.8.0-openjdk-1.8.0.181-1\bin"

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

    2. Restart Command Prompt to reload the environment variables.
  4. Verify the Red Hat build of OpenJDK 8 for Microsoft Windows is successfully installed, run java -version command in a command prompt and you must get the following output:

    java version "1.8.0_181"
    Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
  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 Command Prompt as an administrator.
    2. Set the value of the environment variable to your Red Hat build of OpenJDK 8 for Microsoft Windows installation path:

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

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

    3. Restart Command Prompt to reload the environment variables
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima