Hello SonarCloud community,
The scanner environment is going to require Java 11+ starting from October 2020. The Eclipse Project is moving to Java 11 in September 2020 and we are relying on ECJ (the Eclipse compiler) for our analyzers. Staying close to the latest ECJ is crucial for analysis stability and for support of all the latest language features, especially since many languages increased their pace of new releases. See MMF-2035 for more details.
All users of the Automatic Analysis feature are already set and don’t have to take any action. For all other setups there is going to be a warning in the SonarCloud UI and the PR summary (inside the ALM’s) if the environment does not meet the necessary version requirement.
- SonarCloud UI
- GitHub Pull Request Decoration
In addition, we updated all applicable sample projects to use Java 11 by default. Please take a look if you are unsure on how to upgrade:
The SonarCloud Team.
Update 2020-12-09: We moved the end of support date until 1st of February 2021. Additionally, there will be a brownout from 11 January 2021 to 15 January 2021 during which the first analysis run with a scanner using Java versions less than 11 will fail. You can find more information on our documentation.