64bit Version 11 of the Java JDK (Java Software Development Kit) is required for Apollo 2020 (64bit Version 8 of the Java JDK is required for Apollo 2018).
In 2018 Oracle announced that major changes to Java Virtual Machine with regard to pricing and packaging would take effect with the release of Java 11. With the Java 11 release, there will no longer be a free version of the Oracle Java Runtime available. All commercial customers will need to purchase a license from Oracle, either based on cores or per user via a monthly subscription.
For APOLLO users who do not wish to pay the Oracle subscription, the APOLLO configuration supports open versions of Java, such as OpenJDK or AdoptOpenJDK.
Whether you are using a licensed version of Java or an open version, you must do the following:
Set the JAVA_HOME system environment variable and associate it with the Java installation folder, such as C:\Program Files\Java\jdk-11.0.4.
Add the Java \bin location to your PATH environment variable and define it as %JAVA_HOME%\bin.
IMPORTANT NOTE FOR THOSE USING ERDAS APOLLO CORE CONSOLE
If you install Java via the Oracle, Amazon Corretto, OJDKBuild or AdoptOpenJDK installers, the registry entry required for the ERDAS APOLLO Core Console will be automatically generated. However, if you install Java by extracting a compressed file into a folder on disk, such as with OpenJDK, you will need to manually create the required registry entries. At runtime, ERDAS APOLLO Core Console looks for the string value JavaHome, whose value should be set to the path of the root folder of your java installation.
As needed, create the following registry key:
Add the following string value to the registry key:
JavaHome=<Java installation path>
Install 64bit AdoptOpenJDK 11 for Apollo 2020
If user use 64bit AdoptOpenJDK 11, then user don't need to manually modify registry key and setup environment variables. AdoptOpenJDK installer will automatically setup both JAVA_HOME and registry keys. Just remember to check the last two options (i.e.,"Set JAVA_HOME variable", and "JavaSoft (Oracle) registry keys" :
NOTE: If you have 64bit Oracle Java 11 installed, please uninstall Oracle java before installing 64bit AdoptOpenJDK 11. Because Apollo tomcat service will not start properly (e.g., generate a lot of memory dump mdmp files inside tomcat folder) if you have two 64bit JVMs running at the same time. So make sure only have one 64bit JVM installed on Apollo server.
Also make sure Apollo tomcat JVM is using adoptOpenJDK.
Java Virtual Machine: C:\Program Files\AdoptOpenJDK\jdk-126.96.36.199-hotspot\\bin\server\jvm.dll