Java version warning

We are getting a warning in our Azure DevOps pipeline

The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.

What do we need to do with it?

Hi @ArtemT , a new version of the extension will be published tomorrow morning (Europe time). You won’t have anything to do and the warnings should eventually go away.

In the mean time, in the SonarCloudAnalyze task properties, you can set jdkVersion to JAVA_HOME_17_X64 to get rid of them (if you’re using a microsoft-hosted agent).

HTH,

Mickaƫl

1 Like

Hi again @ArtemT

The extension has been updated (it should display v1.38.0 for the prepare task and v1.41.0 for the analyze task). Let me know if the warnings are gone.

Mickaƫl

3 Likes

Looks like it is resolved, versions 1.38 and 1.41 do not show it anymore

thanks a lot!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.