How I switch between Community and Developer Edition of SonarQube on Windows 11

Background

Tech Notes
2 min readOct 28, 2022

I have some projects set up with SonarQube community edition and quite a few of them. It will take me some time to transition them all to the developer license, which will leave me in a state in the interim where I’ll have to ‘dual-boot’ so to speak between the two editions.

This is the quick easy hack I came up with for doing so.

Context

You cannot run more than one SonarQube at a time if you want them both to serve port 9000 (the default port)

I didn’t feel like configuring it to have 1 on port 9000 and the next on port 9001 partially because I knew they would all eventually be moved to the developer edition.

Setup

In the root folder of my C:\ drive I have these three folders

the sonarqube folder contains the community edition, and the one labelled “sonarqube-developer-9.4.0.54424” contains the developer edition.

The Registry

You can set the path to which sonar qube script will execute on boot in your registry.

Hit Windows Key + R to open the run window and type “regedit” as the command. This will open your registry editor.

--

--