How to clear Upcoming Changes warning

Our projects in SonarCloud are showing ‘Last analysis has 1 warning’. The warning is:

The version of Java (1.8.0_222) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.

This is also reflected in our Azure pipeline builds as "##[warning]WARN: The version of Java (1.8.0_222) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.
" and requires attention from the developer.

We develop in C# so the I’m unclear why we are receiving the warning.

How can we clear this warning or suppress this warning on running the SonarScanner for MSBuild 4.9?

Welcome to the community!

I moved the post directly under the SonarCloud category. You can find the announcement with more information here. The scanner requires Java and the windows-latest image uses Java 8 by default. Please take a look at our .NET sample project for an example of how to switch to Java 11 in your pipeline.

Thanks. Worked.