Cara Mengetahui Versi Tomcat

Cara mengetahui versi Tomcat yang telah terinstall adalah dengan mengeksekusi file  version.sh  untuk Unix atau  version.sh  untuk Windows. File ini berlokasi di direktori bin Tomcat.

Buka Command Prompt (Windows) atau Command Line (Unix), kemudian jalankan file version.

Windows:

C:\apache-tomcat\bin>version.bat
Using CATALINA_BASE: “D:\lib\apache-tomcat”
Using CATALINA_HOME: “D:\lib\apache-tomcat”
Using CATALINA_TMPDIR: “D:\lib\apache-tomcat\temp”
Using JRE_HOME: “C:\Program Files\Java\jdk1.8.0_121”
Using CLASSPATH: “D:\lib\apache-tomcat\bin\bootstrap.jar;D:\lib\apache-tomcat\bin\tomcat-juli.jar”
Server version: Apache Tomcat/8.5.16
Server built: Jun 21 2017 17:01:09 UTC
Server number: 8.5.16.0
OS Name: Windows 10
OS Version: 10.0
Architecture: amd64
JVM Version: 1.8.0_121-b13
JVM Vendor: Oracle Corporation

Dalam contoh di atas adalah Tomcat versi  8.5.16

Untuk Linux:

[anto@office bin]$ ./version.sh

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s