Table of Contents

Prerequisite

The only prerequisite for running SonarQube is to have Java (Oracle JRE 7 onwards or OpenJDK 7 onwards) installed on your machine.

(warning) NoteOn Mac OS X it is highly recommended to install Oracle JDK 7 (or higher) instead of the corresponding Oracle JRE since the JRE installation does not fully set up your Java environment properly. See this post for more information.

Hardware Requirements

  1. The SonarQube server requires at least 2GB of RAM to run efficiently and 1GB of free RAM for the OS.
  2. The amount of disk space you need will depend on how much code you analyze with SonarQube. As an example, Nemo the public instance of SonarQube, has more than 15 millions lines of code under analysis with 4 years of history. Nemo is currently running on a Amazon EC2 c3.large instance, using about 10 Gb of drive space. It handles 270+ projects having roughly 3M open issues.
  3. SonarQube must be installed on hard drives that have excellent read & write performance. Most importantly, the "data" folder houses the Elasticsearch indices on which a huge amount of I/O will be done when the server is up and running. Great read & write hard drive performance will therefore have a great impact on the overall SonarQube server performance.

Supported Platforms

Java

 

The SonarQube Java analyser is able to analyse any kind of Java source files regardless of the version of Java they comply to. But SonarQube analysis and the SonarQube Server require specific versions of the JVM.

Oracle JRE

(error) 6

(tick) 7u75+ . (warning) Support for Java 7 will end with the next LTS version of SonarQube, see SONAR-7225 - End of support for Java 7 as a runtime environment Open .

(tick) 8

OpenJDK

(error) 6

(tick) 7u55+ . (warning) Support for Java 7 will end with the next LTS version of SonarQube, see SONAR-7225 - End of support for Java 7 as a runtime environment Open .

(tick) 8

IBM JRE

(error)

GCJ

(error)

Oracle JRockit(error)

Database

The charset of the database must be set to "UTF-8" and the language to "English".

Microsoft SQL Server

(tick) 2008 (MSSQL Server 10.0) with bundled Microsoft JDBC driver. Express Edition is supported.
(tick) 2012 (MSSQL Server 11.0) with bundled Microsoft JDBC driver. Express Edition is supported.
(tick) 2014 (MSSQL Server 12.0) with bundled Microsoft JDBC driver. Express Edition is supported.

(warning) Collation must be case-sensitive (CS) and accent-sensitive (AS)

(info) Both Windows authentication (“Integrated Security”) and SQL Server authentication are supported. See the Microsoft SQL Server section in Installing page for instructions on configuring authentication.

MySQL

(tick) 5.6 is supported since SonarQube 3.5
(tick) 5.7 is supported since SonarQube 4.4

(warning) Only InnoDB storage engine is supported, but not MyISAM
(warning) Only the bundled mysql-connector-java jar is supported

Oracle

(error) 10G (not supported since 5.0)
(tick) 11G with Oracle 11.2.x drivers
(tick) 12C with Oracle 11.2.x drivers
(tick) XE Editions are supported

(warning) The driver ojdbc14.jar is not supported
(warning) Only the thin mode is supported, not OCI

PostgreSQL

(tick) 8.x
(tick) 9.x

 Web Browser

To get the full experience SonarQube has to offer, you must enable JavaScript in your browser.

Microsoft Internet Explorer

(error) IE 9
(error) IE 10
(tick) IE 11

Microsoft Edge(tick) Latest

Mozilla Firefox

(tick) Latest

Google Chrome

(tick) Latest

Opera

(warning) Not tested

Safari

(tick) Latest


  • No labels