
To set default JDK or switch to OpenJDK enter below command,
#Install sonarr on ubuntu 16.10 install#
Sudo apt-get install openjdk-11-jre -y SET Default JDK Install OpenJDK and JRE 11 using following command, Sudo apt-get install wget unzip -y Step #1: Install OpenJDK

If you are using systemd to manage the sonarqube services then add below value in sonarqube unit file under section.īefore installing, Lets update and upgrade System Packages etc/security/nf sonarqube - nofile 65536 Open the below config file and Insert the below value as shown below, To Increase the vm.max_map_count kernal ,file descriptor and ulimit permanently. Sudo sysctl -w vm.max_map_count=262144 sudo sysctl -w fs.file-max=65536 sudo ulimit -n 65536 sudo ulimit -u 4096 Increase the vm.max_map_count kernel ,file descriptor and ulimit for current session at runtime. To know Prerequisite visit sonarqube official page Note: MySQL Support for SonarQube is depreciated. Here, We are installing SonarQube 7.9.1 version and have to install Oracle JAVA/Open JDK, Postgres/MS-SQL as database and Latest browser before installing SonarQube. Ubuntu 18.04/16.04 LTS with minimum 2GB RAM and 1 CPU.It is most widely used in continuous code inspection which performs reviews of code to detect bugs, code smells and vulnerability issues of programming languages such as PHP, C#, JavaScript, C/C++ and Java, Also tracks statistics and creates charts that enable developers to quickly identify problems in their code.

Introduction SonarQube is an opensource web based tool to manage code quality and code analysis.
