Does Sonar Lint support Java 6?

Please provide

  • Operating system: Windows
  • IDE name and flavor/env: Eclipse
  • SonarLint plugin version: Not installed
  • Is connected mode used: No
    • Connected to SonarCloud or SonarQube (and which version): not connected

And a thorough description of the problem / question: Does Sonar Lint support Java version 6? If not, what could be the alternative?

Hello, welcome to the community! And thanks for your question.

SonarLint won’t install nor run if Eclipse is started with a Java 6 VM. Recent versions of SonarLint require a Java 11+ runtime (as do recent Eclipse releases).

However, SonarLint is able to analyze Java 6 code, regardless of the underlying VM.

Thank you for your help. So to reconfirm, if my VM version is 11+, I would be able to execute Sonar lint on Java 6 code.

Yes, I confirm that as long as you run Eclipse with a 11+ VM, SonarLint will be able to analyze and give feedback on your Java 6 code :slight_smile:

1 Like

Thank you Jean. Appreciate your help. :slight_smile:

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