I get this error when I try to run SonarCloud.
The version of Java (1.8.0_275) you have used to run this analysis is deprecated and we stopped accepting it for newly created projects.
The implementation code is verbatim the one SonarCloud gives when setting up a project.
Upper in the log for the step, I see this:
INFO: Project root configuration file: D:\a\Bogus\Bogus\.sonarqube\out\sonar- project.properties INFO: SonarScanner 18.104.22.1680 INFO: Java 1.8.0_275 AdoptOpenJDK (64-bit) INFO: Windows Server 2019 10.0 amd64
Where does that error come from ?
Where does “Java 1.8.0_275 AdoptOpenJDK (64-bit)” come from ?
Do I have control over it, so I can reference a newer version of OpenJDK, through the step or otherwise ?
If I globally install the latest Java version inside the runner, before this SonarCloud step is executed, would it use that Java version instead of the problematic “Java 1.8.0_275 AdoptOpenJDK (64-bit)”