本帖最后由 阿里云服务商 于 2017-7-5 09:43 编辑
查看当前版本:/www/server/tomcat/bin/version.sh
^C^H[root@localhostlib]# /www/server/tomcat/bin/version.sh UsingCATALINA_BASE: /www/server/tomcat UsingCATALINA_HOME: /www/server/tomcat UsingCATALINA_TMPDIR: /www/server/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64/jre UsingCLASSPATH: /www/server/tomcat/bin/bootstrap.jar:/www/server/tomcat/bin/tomcat-juli.jar Server version:Apache Tomcat/9.0.0.M18 Server built: Mar 8 2017 15:20:57 UTC Server number: 9.0.0.0 OS Name: Linux OS Version: 3.10.0-514.el7.x86_64 Architecture: amd64 JVM Version: 1.8.0_131-b12 JVM Vendor: Oracle Corporation
JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64/jre
修改/etc/init.d/tomcat中 : line 15 JRE_HOME路径
修改/www/server/tomcat/bin/catalina.sh:line 15 JRE_HOME路径
|