Windows runner error about Java Runtime class file versions

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Problem

You attempt to start a Windows self-hosted runner and you get an error like the following:

1 Exception in thread "main" java.lang.UnsupportedClassVersionError: com/atlassian/pipelines/runner/core/ApplicationImpl 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

Environment

Windows self-hosted runners in Bitbucket Pipelines.

Cause

The error message states that the version of Java on the Windows machine where you attempt to start the runner only recognizes class file versions up to 52.0.

The table in the following page lists Java class file versions for each JDK release

The class file version 52.0 mentioned in the error message corresponds to Java 8, so this is the version of Java used by your Windows machine.

A prerequisite for the Windows runner is that OpenJDK 11 (11.0.15 or newer) is installed on the host machine where you want to run the runner:

Solution

Uninstall Java from the Windows machine and install OpenJDK 11.0.15 or newer:

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.