进入tomcat的bin目录,里边有个version.sh,直接运行一下:
[darkmi@web11 bin]$ ./version.sh
Using CATALINA_BASE: /opt/tomcat-8
Using CATALINA_HOME: /opt/tomcat-8
Using CATALINA_TMPDIR: /opt/tomcat-8/temp
Using JRE_HOME: /usr/local/java
Using CLASSPATH: /opt/tomcat-8/bin/bootstrap.jar:/opt/tomcat-8/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.0.37
Server built: Sep 1 2016 10:01:52 UTC
Server number: 8.0.37.0
OS Name: Linux
OS Version: 2.6.32-573.3.1.el6.x86_64
Architecture: amd64
JVM Version: 1.8.0_102-b14
JVM Vendor: Oracle Corporation
中结果可以看到tomcat的版本,当然还能看到其他的一些系统信息。
如果是windows的话,执行 ./version.bat 即可。
Post a comment now »
本文目前不可评论
Sorry, the comment form is closed at this time.
No comments yet.