If you want to use a platform independent approach then just run ServerInfo class from catalina.jar, which you can find inside tomcat/lib directory.
That's all about how to find Tomcat version in Linux and Windows.By using version.sh, you can also find the Java version used to run tomcat.# yum install java # yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps Tomcat7 is available from the Tomcat website, but the default version for OL6 is Tomcat6. You just need to make sure you've got Java installed already, then install the Tomcat packages. Installing Tomcat on Linux is pretty simple if you're using a YUM repository. It executes Java servlets and renders Web pages that include Java Server Page coding and it is one of the most popular web servers used by the java developers.
Tomcat uses the Jasper converter to turn JSPs into servlets for execution. (noun) A popular Java servlet container from the Apache Jakarta project.