linux 查看tomcat版本

  • A+
所属分类:最佳实践

在tomcat bin执行命令:
./version.sh

Server version后面的就是版本号

[tomcat]$ cd bin/
[tomcat bin]$ ./version.sh
Using CATALINA_BASE:   /home/tomcat/apache-tomcat-8.5.37
Using CATALINA_HOME:   /home/tomcat/apache-tomcat-8.5.37
Using CATALINA_TMPDIR: /home/tomcat/apache-tomcat-8.5.37/temp
Using JRE_HOME:        /home/tomcat/jdk1.8.0_191
Using CLASSPATH:       /home/tomcat/apache-tomcat-8.5.37/bin/bootstrap.jar:/home/tomcat/apache-tomcat-8.5.37/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.5.37
Server built:   Dec 12 2018 12:07:02 UTC
Server number:  8.5.37.0
OS Name:        Linux
OS Version:     3.10.0-957.5.1.el7.x86_64
Architecture:   amd64
JVM Version:    1.8.0_191-b12
JVM Vendor:     Oracle Corporation



  • 我的微信
  • 这是我的微信扫一扫
  • weinxin
  • 我的微信公众号
  • 我的微信公众号扫一扫
  • weinxin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: