Tomcat specifies jdk
1. Check whether the environment variable specifies CATALINA_HOME and CATALINA_BASE
Cat / etc/profile
two。 Find tocamt's configuration file catalina.sh to join as shown in the figure
JAVA_HOME is your jdk path (jdk does not need to be installed)
If you specify CATALINA_HOME and CATALINA_BASE in 1, you need to add, specify the target tomcat.
3. Start tomcat to see the tomcat startup information