win10 tomcat闪退

1.环境变量配置

CLASSPATH:

.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\lib\servlet-api.jar;%TOMCAT_HOME%\BIN

 Path:

E:\mysql-5.6.39-winx64\bin;C:\ProgramData\Oracle\Java\javapath;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;G:\app\q\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;G:\Python27;G:\Program Files\TortoiseSVN\bin;%CATALINA_HOME%\bin;;%MAVEN_HOME%\bin;G:\nodeJS\;D:\java\CSDN\spring-boot-cli-1.3.0.RELEASE-bin\spring-1.3.0.RELEASE\bin;%TOMCAT_HOME%\BIN

 JAVA_HOME:

D:\tools\JDK\JDK1.6\Java\jdk1.6.0_45\bin


2.Tomcat文件的修改: 

修改D:\apache-tomcat-7.0.26\bin文件夹下的startup.bat和shutdown.bat的内容:添加SET JAVA_HOME=D:\tools\JDK\JDK1.6\Java\jdk1.6.0_45
SET TOMCAT_HOME=D:\apache-tomcat-7.0.26
阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页