Requirements
On this page
Each IDE extension of SonarQube for IDE has its own requirements to work properly with the most recent releases.
Overview
For SonarQube for Eclipse to work properly in the Eclipse IDE:
- Eclipse Platform Requirement: the minimal version of the Eclipse platform that SonarQube for Eclipse supports. If you are not familiar with Eclipse versioning scheme, see here.
- JVM requirement: SonarQube for Eclipse 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: Node.js is only required to enable JavaScript, TypeScript, and CSS analysis. See the JavaScript, TypeScript, and CSS article below for full details.
- SonarQube Server minimal requirement: only if using connected mode. Usually means that the next LTA is also supported.
SonarQube for Eclipse version | Eclipse platform requirement | JVM requirement | Node.js requirement | SonarQube Server 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
Some languages require the use of Connected mode to analyze. Please see the Rules page for more details.
C and C++ analysis
Analysis of C and C++ code in SonarQube for Eclipse requires a C/C++ Development Tool (CDT) ; you can check the Eclipse Embedded CDT documentation for more details.
Note that you might need to build your C/C++ project successfully once in the IDE in order for CDT to configure everything properly and for SonarQube for IDE to pick up this configuration for the analysis.
For instructions on how to configure a C/C++ project project, refer to the Eclipse CDT documentation.
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 SonarQube for Eclipse 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 SonarQube for Eclipse 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.
JavaScript, TypeScript, and CSS
Node.js is required to enable JavaScript, TypeScript, and CSS analysis.
- When the Eclipse Wild Web Developer plug-in is installed in the IDE, SonarQube for Eclipse tries to leverage the plug-in's bundled Node.js installation, if the requirements are met.
- If needed, you can manually set your Node.js executable. The JavaScript and TypeScript analysis article details how to set a path to your Node.js.
Was this page helpful?