Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Which is version of sonarqube and sonar runner is required for jdk7?


Asked by Lennon Buck on Dec 12, 2021 FAQ



And which version of "Sonarqube" and Sonar runner is required for JDK7? Answer is very simple: "Runner" is the old name for "Scanner". Everything you need to know about the different SonarQube Scanners is available on the Scanners part of the official documentation. If you're stuck to Java 7, then you can use: Not the answer you're looking for?
In respect to this,
SonarQube scanners require version 8 or 11 of the JVM and the SonarQube server requires version 11. Versions beyond Java 11 are not officially supported. SonarQube is able to analyze any kind of Java source files regardless of the version of Java they comply to. We recommend using the Critical Patch Update (CPU) releases.
Besides, Install the Java JDK on your local machine, which can be downloaded from Oracle’s official website. SonarQube can be downloaded by visiting their website. The current version, which is available for download is 5.1.2. Once the download process is complete, extract the zip file to your specific drive (C or D) based on your preference.
In fact,
1.1 Visit the archived runner page to get runner-2.4, compatible up to SonarQube 5.5; if you are installing a newer version of SonarQube, then visit SonarQube official site for the latest version (renamed as sonar-scanner) 1.2 Download the required version for Windows to your Downloads folder
Furthermore,
The default value is 1.5. To set the appropriate version, you need to set sonar.java.source property to tell PMD which version of Java your source code complies to. Possible values: 1.4, 1.5 or 5, 1.6 or 6, 1.7 or 7. Since version 2.2 of the plugin, this property can also be set to 1.8 or 8.