How to check installed Tomcat version

Tomat version as seen in folder name
Tomat version as seen in folder name

If you want to know which version of Tomcat that has been installed on your system or on the server you can do so by going to the tomcat directory. If you extract the setup zip file it by default has the version name as the folder name example: apache-tomcat-8.5.60, but if it was renamed then you can try the below,

  1. Locate tomcat directory,
  2. Go to /bin and open CMD in this location,
  3. Type version.bat file, you should see the version details displayed on the console,
    Using CATALINA_BASE:   "D:\setup\apache-tomcat-8.5.60"
    Using CATALINA_HOME:   "D:\setup\apache-tomcat-8.5.60"
    Using CATALINA_TMPDIR: "D:\setup\apache-tomcat-8.5.60\temp"
    Using JRE_HOME:        "C:\Program Files\Android\Android Studio\jre\jre"
    Using CLASSPATH:       "D:\setup\apache-tomcat-8.5.60\bin\bootstrap.jar;
    Using CATALINA_OPTS:   ""
    Server version: Apache Tomcat/8.5.60
    Server built:   Nov 12 2020 17:31:55 UTC
    Server number:
    OS Name:        Windows 10
    OS Version:     10.0
    Architecture:   amd64
    JVM Version:    1.8.0_242-release-1644-b01
    JVM Vendor:     JetBrains s.r.o

    As you can see Tomcat is installed in D:\setup\apache-tomcat-8.5.60 and the version is Apache Tomcat/8.5.60

⚡️ If you are using macOS (Big Sur, Catalina, etc) or Linux you follow the same steps just instead of version.bat you run ./ from the Terminal.

Hello there!,

You are using AdBlocker!

I am an independent developer trying to help fellow developers and students to resolve issues faced on a day-to-day basis, we 'Code to Care' . There is a lot of expenses involved in hosting and managing a website that's the reason we have ads.

A humble request to you to disable adBlocker on and support us pay our bills.

Cod2care - Line's of code for change.

To see contents reload page after unblocking
Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities. Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, Tips-n-tricks, How Tos, Blogs, Articles, etc. on various platforms like Windows, Mac, Linux, Mobile platforms, etc. Technologies/Languages like Java, Objective-C, PHP, .Net, Android, SharePoint, jQuery, HTML, CSS, etc.