# Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file

**URL:** <https://community.sonarsource.com/t/java-runtime-class-file-version-55-0-this-version-of-the-java-runtime-only-recognizes-class-file/76290>\
**Category:** SonarQube Server / Community Build\
**Tags:** azuredevops-services, sonarqube, dotnet, scanner, java\
**Created:** [November 18, 2022, 2:22pm UTC](https://community.sonarsource.com/t/java-runtime-class-file-version-55-0-this-version-of-the-java-runtime-only-recognizes-class-file/76290 "2022-11-18T14:22:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mayra\_Olivo](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mayra_olivo/32/39290_2.png) [@Mayra\_Olivo](https://community.sonarsource.com/u/Mayra_Olivo)\
**Post date:** [November 18, 2022, 2:22pm UTC](https://community.sonarsource.com/t/java-runtime-class-file-version-55-0-this-version-of-the-java-runtime-only-recognizes-class-file/76290/1 "2022-11-18T14:22:56Z")

</div>

Got this error:  
Error during SonarScanner execution  
java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation 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

I am brand new to SonarQube, I got this while I am trying to set up a Azure CI pipeline with Sonarqube My scenario is working (or not) with a self hosted agent first I am trying to analyze solution located on the agent against my company sonarqube server. I have tried all the blogpost and answers here about settting up the java\_home variable and versions of java skd java jre so I am not sure if this is something else or I am setting any of this things wrong. Hope you can help me

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [November 21, 2022, 4:08pm UTC](https://community.sonarsource.com/t/java-runtime-class-file-version-55-0-this-version-of-the-java-runtime-only-recognizes-class-file/76290/2 "2022-11-21T16:08:54Z")

</div>

Hi,

Welcome to the community!

This is Java’s painfully obscure way of saying the version of the Java runtime doesn’t match the version of the executable. I use [this SO question](https://stackoverflow.com/questions/9170832/list-of-java-class-file-format-major-version-numbers) as my cheat sheet.

Based on that, you’re running Java 8, and you need to be running Java 11.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![TEJA\_B.S](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/teja_b.s/32/50577_2.png) [@TEJA\_B.S](https://community.sonarsource.com/u/TEJA_B.S)\
**Post date:** [October 18, 2023, 6:36pm UTC](https://community.sonarsource.com/t/java-runtime-class-file-version-55-0-this-version-of-the-java-runtime-only-recognizes-class-file/76290/3 "2023-10-18T18:36:16Z")

</div>

> [@ganncamp](#):
>
> Based

I am running Java 11 but problem same
