Requirements
On this page
Each IDE extension of SonarLint has its own requirements to work properly with the most recent releases.
Overview
For SonarLint to work properly in the Eclipse IDE:
- Eclipse Platform Requirement: the minimal version of the Eclipse platform that SonarLint supports. If you are not familiar with Eclipse versioning scheme, see here.
- JVM requirement: SonarLint requires the minimal version of the JVM that is used to run Eclipse. The use of older versions is possible as long as it complies with your version of Eclipse.
- Node.js requirement: only required for JavaScript, TypeScript, and CSS analysis.
- SonarQube minimal requirement: only if using connected mode. Usually means that the next LTA is also supported.
SonarLint version | Eclipse platform requirement | JVM requirement | Node.js requirement | SonarQube min requirement (for Connected Mode) |
---|---|---|---|---|
6.x | 4.6+ (Neon+) | 1.8+ | 7.9+ | |
7.x | 4.8+ (photon+) | 11+ | 7.9+ | |
7.4 | 4.8+ (photon+) | 11+ | 12.22+ | 7.9+ |
7.6-8.1 | 4.8+ (photon+) | 11+ | 14.20+ (16+ or 18+ recommended) | 7.9+ |
9.0+ | 4.8+ (photon+) | 17+ | 18+ (20, the active LTS, is recommended) | 8.9 |
10.1+ | 4.8+ (photon+) | 11+ | 18.18+ (20.9+, the active LTS, is recommended) | 9.9 |
Language-specific requirements
The use of Connected Mode is required to analyze some languages. Please see the Rules page for more details.
C and C++ analysis
The use of Connected Mode with SonarCloud or a SonarQube commercial edition is required to analyze C and C++ code in SonarLint for Eclipse. In addition, SonarLint requires a C/C++ Development Tool (CDT); you can check the Eclipse Embedded CDT documentation for more details.
COBOL
COBOL analysis requires a COBOL IDE based on the Eclipse platform such as the IBM IDz or BMC IDEs. Note that recent versions of SonarLint and our analyzers require a JRE 11+ in order to run, and IBM IDz only supports JRE 11 starting from version 16.
- Check the IBM documentation for more information about SonarLint integration with Developer for z Systems.
- Some additional information is available for setting up a SonarLint with your BMC Compuware Topaz Workbench.
Java and JSP
Analysis of Java code requires the Eclipse sub-project Java development tools (JDT). This includes a Java compiler, incremental builder, editors, wizards, content assist, and all the other features of a first-class Java IDE.
Was this page helpful?