linux下查看tomcat和jdk版本号
linux下查看tomcat和jdk版本号的命令:
这个需要进入到bin目录下面 ,执行"./version.sh"命令
[root@hncsweb bin]# ./version.sh
然后就可以看到如下的输出:
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/java/jdk1.6.0_45/jre
Using CLASSPATH: /usr/local/java/jdk1.6.0_45/lib:/usr/local/java/jdk1.6.0_45/jre/lib:/usr/local/tomcat/bin/bootstrap.jar
Server version: Apache Tomcat/6.0.32
Server built: February 2 2011 2003
Server number: 6.0.32.0
OS Name: Linux
OS Version: 2.6.32-279.14.1.el6.x86_64
Architecture: amd64
JVM Version: 1.6.0_45-b06
JVM Vendor: Sun Microsystems Inc.