Prerequisite
The only prerequisite for running Sonar is to have Java (Oracle JRE 6 onwards) installed on your machine.
Hardware Requirements
- The Sonar web server requires at least 500Mb of RAM to run efficiently.
- The amount of disk space you need will depend on how much code you analyze with Sonar. As an example, Nemo the public instance of Sonar, has more than 13 millions Lines of Code under analysis with 4 years of history. Nemo is currently running on a Amazon EC2 small instance, using about 10 Gb of drive space
Supported Platforms
Java | |
|---|
Oracle JRE | 6
7
|
IBM JRE | 
|
GCJ | 
|
| Oracle JRockit |  |
Database |
|---|
Apache Derby | Prior to Sonar 3.2. Bundled with Sonar but supported for evaluation use only. Although using the Derby database gives access to a fully functional version, upgrades are disabled. Therefore, before deploying to a production environment, we strongly recommend that you use an enterprise database.
|
| H2 | Since Sonar 3.2. Bundled with Sonar but supported for evaluation use only. Although using the H2 database gives access to a fully functional version, upgrades are disabled. Therefore, before deploying to a production environment, we strongly recommend that you use an enterprise database. |
Microsoft SQL Server | 2005 with bundled jTDS driver. Microsoft drivers are not supported. Express Edition is supported.
2008 with bundled jTDS driver. Microsoft drivers are not supported. Express Edition is supported.
Collation must be case-sensitive (CS) and accent-sensitive (AS)
|
MySQL | 5.0, 5.1 and 5.5 with the driver packaged with Sonar.
5.6 is supported in Sonar 3.5 (see SONAR-4137).
|
Oracle | 10G with Oracle 11.2.x drivers
11G with Oracle 11.2.x drivers
XE Editions are supported
The driver ojdbc14.jar is not supported
Only the thin mode is supported, not OCI
|
PostgreSQL | 8.3
8.4
9.0
9.1
|
Application Server |
|---|
Jetty 6 | Bundled with Sonar
|
Apache Tomcat | 5.5
6.0
7.0
|
| JBoss |  |
| GlassFish |  |
Web Browser |
|---|
To get the full experience Sonar has to offer, you should enable Javascript in your browser.
|
Microsoft Internet Explorer | IE7 (not compatible with Views administration console)
IE8
IE9
|
Mozilla Firefox | Supported
|
Google Chrome | Supported
|
Opera | Not tested
|
Safari | Supported
|