Error in jenkins build pipeline

Hi All,

We are getting the below mentioned error in Jenkins build pipeline.

ERROR: Error during SonarQube Scanner 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

How to get it resolved.

Hi,

Welcome to the community!

You’re trying to analyze with an unsupported version of Java. Here’s the SO question I use to decode Java’s extraordinarily unhelpful internal version numbers.

 
HTH,
Ann