Which version of plugin can i use for gradle version 2.11 and Java version 8

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps

Hey there,

I’m trying to run azure pipeline but I get an error:

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

Which version of plugin should I use to run pipeline with grade 2.11 and java 8?

Hi,

Welcome to the community!

What version of SonarQube are you using? It looks like you’re using Java 8 to analyze when you need to be using Java 11. The docs show which versions of Java are supported.

 
HTH,
Ann

Hello Ann,
thank You. Yes, I’m using java 8 and sonar cloud.

Hi,

Oops. You clearly filed this under SonarCloud. Sorry I missed that. So yes, you’ll need to analyze with Java 11.

 
Ann