Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. If you wish to install Azul JDK 11, please follow the  Zulu Installation Guide.
  2. 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:

    Code Block
    languagebash
    themeRDark
    $ sudo yum install java-11-openjdk
    $ java -version

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 :

Code Block
languagebash
themeRDark
titlesetenv.sh
...
export JAVA_HOME=/path/to/where/your/jdk/was/installed
export JRE_HOME=$JAVA_HOME