Unable to Install Confluence Due to Java 1.5

Platform Notice: Data Center Only - This article only applies to Atlassian products 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

Symptoms

Users are unable to install Confluence. Trying to browse to localhost:port from the browser shows a cannot connect message. The following appears in the atlassian-confluence.log:

1 2 3 java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.atlassian.confluence.logging.ConfluenceHomeLogAppender) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2822)

Diagnosis

Check your java version by running this command:

1 2 java -v

Cause

Java 1.5 is not supported in Confluence 3.5 and later.

Solution

Resolution

  1. Update the JVM to 1.6 or later.

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.