How to determine your version of Tomcat and Java

Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

The commands on this page will allow you to determine the version of Tomcat that your instance is using. It will also allow you to check the version of Java is being used to create a JVM.

Solution

Run the appropriate command for your OS from your <application-install> or <tomcat-install> directory:

ℹ️ If java is not on your PATH, prefix the command with the full path to your <java-home>/bin/ directory.

Linux or macOS:

java -cp lib/catalina.jar org.apache.catalina.util.ServerInfo

Windows:

java.exe -cp lib\catalina.jar org.apache.catalina.util.ServerInfo

The output should be similar to this:

Server version: SpringSource tc Runtime/2.0.4.RELEASE Server built: August 3 2010 0710 Server number: 6.0.28.29 OS Name: Linux OS Version: 2.6.18-194.11.1.el5 Architecture: i386 JVM Version: 1.6.0_21-b06 JVM Vendor: Sun Microsystems Inc.

How to read the output:

  • Server number — the Tomcat version (e.g. 9.0.65.0).

  • JVM Version — the Java runtime version (e.g. 11.0.16).

  • JVM Vendor — the Java distribution (Oracle, OpenJDK, Adoptium, Azul, etc.).

  • The Server version line shows the Tomcat build / distribution string; the Server number below it is the canonical Tomcat version number you should reference when checking compatibility.

Where to find this without running commands:

If you can access the Confluence admin UI, you can also find both versions at Administration (cog icon) → General Configuration → System Information

  • Java Version and Java Vendor are shown under the "Java" section.

  • Application Server shows the Tomcat version.

Use the command-line method when the application won't start or you don't have admin UI access.

Related articles:

Updated on May 27, 2026

Still need help?

The Atlassian Community is here for you.