Check Your Java Installation

Before you start, follow these steps to ensure that your Java environment is suitable:

  1. Verify that your computer has a supported Java version installed:

    Supported Java Versions
    VendorVersions

    OpenJDK, including OpenJDK-based distributions:

    • AdoptOpenJDK/Eclipse Adoptium

    • Amazon Corretto

    • Azul Zulu

    • Red Hat OpenJDK

    ForgeRock tests most extensively with AdoptOpenJDK/Eclipse Adoptium.

    11

    Oracle Java

    11

  2. Read the pre-installation requirements.

  3. Set the JAVA_HOME environment variable:

    1. Locate the JRE installation directory (typically, C:\Program Files\Java\).

    2. Select Start > Control Panel > System and Security > System.

    3. Click Advanced System Settings.

    4. Click Environment Variables.

    5. Under System Variables, click New.

    6. Enter the Variable name (JAVA_HOME) and set the Variable value to the JRE installation directory; for example C:\Program Files\Java\jre8.

    7. Click OK.

    1. Open the user shell configuration file found in your home directory.

    2. Add the JAVA_HOME variable to the user shell configuration file, setting the value to /usr. In Bash, this would appear as export JAVA_HOME="/usr".

Read a different version of :