在tomcat中bin目录下,在地址栏输入cmd调出doc窗口,然后输入version
Using CATALINA_BASE: "D:\apache-tomcat-8089"
Using CATALINA_HOME: "D:\apache-tomcat-8089"
Using CATALINA_TMPDIR: "D:\apache-tomcat-8089\temp"
Using JRE_HOME: "D:\Program Files\Java\jdk1.8.0_102"
Using CLASSPATH: "D:\apache-tomcat-8089\bin\bootstrap.jar;D:\apache-tomcat-8089\bin\tomcat-juli.jar"
Server version: Apache Tomcat/8.5.6
Server built: Oct 6 2016 20:15:31 UTC
Server number: 8.5.6.0
OS Name: Windows 10
OS Version: 10.0
Architecture: amd64
JVM Version: 1.8.0_102-b14
JVM Vendor: Oracle Corporation
会显示出tomcat版本:8.5.6
jdk版本 1.8
时间: 2024-10-03 11:22:15