
Note: Any Java or JDK version numbers on this page are examples only.
Open a shell console and type echo $JAVA_HOME and hit Enter to check that it has installed correctly (see notes above). Be sure to download the right one for your operating system. Download the appropriate Adoptium OpenJDK or Oracle JDK version.Ĭheck the Supported Platforms page to find out which JDK / JRE versions are supported for your version of Confluence. Alternatively, you can set this after installing Confluence, by defining this path in your Confluence installation's setenv.sh file, usually located in the Confluence bin directory. You can set this environment variable in your user account's 'profile' file.
If nothing is displayed, you'll need to install the JDK or set the $JAVA_HOME environment variable.If it returns something like /opt/JDK8 or /usr/lib/jvm/java8, then your JDK is installed and properly configured.
Open a shell console and type echo $JAVA_HOME and hit Enter. Before you start, check whether a JDK is already installed.