Do we have a work around for Java 11 compiled projects to have sonar scanner target on Java 17

CI Used: Azure Devops

[ERROR] The version of Java (11.0.21) used to run this analysis is deprecated, and SonarCloud no longer supports it. Please upgrade to Java 17 or later.

[ERROR] As a temporary measure, you can set the property ‘sonar.scanner.force-deprecated-java-version’ to ‘true’ to continue using Java 11.0.21

[ERROR] This workaround will only be effective until January 28, 2024. After this date, all scans using the deprecated Java 11 will fail.

Hi,

Welcome to the community!

Since the need to upgrade to Java 17 is pretty clear, I’m not sure what you’re asking.

 
Ann