Check Your Java Installation
Before you start, follow these steps to ensure that your Java environment is suitable:
Verify that your computer has a supported Java version installed:
Supported Java VersionsVendor Versions OpenJDK, including OpenJDK-based distributions:
AdoptOpenJDK/Eclipse Adoptium
Amazon Corretto
Azul Zulu
Red Hat OpenJDK
ForgeRock tests most extensively with AdoptOpenJDK/Eclipse Adoptium.
ForgeRock recommends using the HotSpot JVM.
11 Oracle Java
11 Read the pre-installation requirements.
Set the
JAVA_HOME
environment variable:Locate the JRE installation directory (typically,
C:\Program Files\Java\
).Select Start > Control Panel > System and Security > System.
Click Advanced System Settings.
Click Environment Variables.
Under System Variables, click New.
Enter the Variable name (
JAVA_HOME
) and set the Variable value to the JRE installation directory; for exampleC:\Program Files\Java\jre8
.Click OK.
Open the user shell configuration file found in your home directory.
Add the
JAVA_HOME
variable to the user shell configuration file, setting the value to/usr
. In Bash, this would appear asexport JAVA_HOME="/usr"
.