Start tomcat, click startup.bat flash back
Tomcat using the free installation version.
Since the start tomcat is required to read the environment variables and configuration information, lack of information, we can not register environment variables, resulting in a tomcat's flash back.
Solution:
1: Found in the unzipped tomcat bin folder startup.bat, right click -> Edit. Add the following two lines in the file header:
SET JAVA_HOME = D: \ Java \ jdk1.7 (java jdk directory)
the SET TOMCAT_HOME = E: \ tomcat-7.0 (tomcat after extracting the file directory)
2. shutdown.bat found in the unzipped tomcat bin folder, right click -> Edit. Add the following two lines in the file header:
SET JAVA_HOME = D: \ Java \ jdk1.7 (java jdk directory)
the SET TOMCAT_HOME = E: \ tomcat-7.0 (tomcat after extracting the file directory)
Original link: https: //blog.csdn.net/scau_lth/article/details/83218335