Get the App
SLTechnology News&Howtos  ›  Servers  › 

Tomcat specifies jdk

Shulou Source: shulou.com Published: 2022-06-03 00:35:35 09月22日 Update

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

Tags: No information variables files environment target path as shown in figure configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Technology Apple NVidia Redmi