There are a variety of JDK vendors. We test with the Azul JDK 11. Our only known requirement beyond JDK11 is that tomcat's https should recognize contemporary root certificates.
You have the following options to install JDK 11:
- If you wish to install Azul JDK 11, please follow the Zulu Installation Guide.
If your Linux distribution provides another way to install a JDK, such as through a package manager like yum or apt-get, please consult those steps as they may offer better integration with your base operation system. The following code is an example of installing JDK using yum, and then extracting its version information:
No matter which option you choose to install JDK, be sure that your tomcat environment use the correct "JAVA_HOME" and "JRE_HOME" values. Set JAVA_HOME and JRE_HOME in /opt/shrine/tomcat/bin/setenv.sh :