Java requirements
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 Versions Vendor Versions OpenJDK, including OpenJDK-based distributions:
-
AdoptOpenJDK/Eclipse Temurin
-
Amazon Corretto
-
Azul Zulu
-
Red Hat OpenJDK
ForgeRock tests most extensively with AdoptOpenJDK/Eclipse Temurin. ForgeRock recommends using the HotSpot JVM. 17**
Oracle Java
17**
** Version 17.0.3 or higher.
-
-
Read the pre-installation requirements.
-
Set the
JAVA_HOME
environment variable:Set JAVA_HOME on Windows
-
Locate the JRE installation directory (typically,
C:\Program Files\Java\
). -
Click 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.
Set JAVA_HOME on Linux
-
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"
.
-