Java runtime error when upgrading Advanced Tables for Confluence

Java runtime error when upgrading Advanced Tables for Confluence

Summary

When upgrading Advanced Tables for Confluence to version 8.8.1, the app fails to start or install due to a Java runtime compatibility error. This occurs because the app requires Java 11 (class file version 55.0), while the Confluence instance is running on Java 8 (class file version 52.0). Upgrading the Java Runtime Environment (JRE) to version 11 resolves this issue.

Issue

The following error message appears in the Confluence logs or UI during the app upgrade or installation:

org/swift/confluence/table/ao/entity/GlobalConfigEntity has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Advance_Table for Confluence_issue.png

Cause

The error indicates a mismatch between the Java version used to compile the app and the Java version running the Confluence server:

  • Class file version 55.0: Corresponds to Java 11.

  • Class file version 52.0: Corresponds to Java 8.

Advanced Tables for Confluence version 8.8.1 requires Java 11 or higher to function.

Solution

To resolve this issue, upgrade the Java version used by your Confluence instance to Java 11.

Verify the current Java version

In Confluence, you can confirm the current Java version before proceeding:

  1. In the top-right corner, click the Settings (cogwheel icon).

  2. In the left navigation panel, click General Configuration > System Information.

  3. Scroll down to the Java Version or JVM Version section to view the current version.

Upgrade Java

  1. Install OpenJDK 11 or a supported Java 11 distribution on your Confluence server.

  2. Update the Java path used by Confluence to point to the new Java 11 installation.

  3. Restart the Confluence service.

  4. Verify the app status in Administration > Manage apps.