How do I respond to "Warning: SonarScanner will require Java 11 to run..."

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube 8.9.0-DE, sonar-maven-plugin running on docker container built with openjdk8-alpine
  • what are you trying to achieve
    Distributed application modules, all built with Java8 features.
  • what have you tried so far to achieve this
    Planning on creating a new build-container with openjdk11-alpine as base image.

Hi @Jaff,

This change will take effect in the SonarQube 9.x series, so you’re fine with 8.9 at the moment. You’ll still be able to scan Java 8 code without any problems, it’s just that the scanner will need to run in a Java 11 environment.

I hope this helps; let me know if you need more detail.



Excellent, thanks; I’ll let the team know this.

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