Versions Compared

Key

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

...

No matter which option you choose to install JDK, be sure that your tomcat environment uses the correct "JAVA_HOME" and "JDKJRE_HOME" values.   If you are using bash shell, you can add a file in /etc/profile.d/ to include the following settings (this is just an example; please use your system's own settings):

Code Block
languagebash
themeRDark
export JAVA_HOME=/opt/where_your_jdk_lives
export JDK_HOME=$JAVA_HOME
export PATH=$JAVA_HOME/bin:$PATH
export MANPATH=$JAVA_HOME/man:$MANPATH

Another option is to set JAVA_HOME and JRE_HOME Set them in /opt/shrine/tomcat/bin/setenv.sh :

...