[Switch] Tomcat environment variable Catalina_Home configuration

1. CATALINA_HOME is the alias of the TOMCAT installation path, the purpose is to facilitate the use of TOMCAT

2. Computer > Properties > Environment Variables, create a new environment variable. The variable name is CATALINA_HOME, the variable value is the decompression directory of tomcat, the one on my computer is: "D:\apache-tomcat-7.0.12", please note that there is no need to add "\" or ";"

3. In the environment variable Path, add "%CATALINA_HOME%\bin\ "

3. Start tomcat: enter the command line cmd, enter startup.bat

4. Open the browser and enter: http://localhost:8080 , (if the port number is modified, add the corresponding port) to see if tomcat starts normally

5. Close tomcat: enter the command line cmd, enter shutdown.bat

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326412353&siteId=291194637