Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Running SonarQube on local system

Avatar

Level 6

Hi all,

 

I am uisng AEM 6.5.13 in my local system. Java is JDK 11

Wanted to install and run SonarQube software in my local. But latest version of SonarQube requires JAVA 17.  Tried older version of SonarQube too: 8.9.10, 9.9.1. Still no luck.

 

Let me know, if anyone using SonarQube in local with JDK 11?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @Mahesh_Gunaje - 

 

You can download SonarQube version 7.9.6, which is compatible with JDK 11, from the following link:

https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-7.9.6.zip

 

I learned from https://community.sonarsource.com/t/sonarqube-support-for-openjdk-11/3975/35 

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hello @Mahesh_Gunaje - 

 

You can download SonarQube version 7.9.6, which is compatible with JDK 11, from the following link:

https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-7.9.6.zip

 

I learned from https://community.sonarsource.com/t/sonarqube-support-for-openjdk-11/3975/35 

Avatar

Level 6

Hey all.... SonarQube 8.9.10 version too works with JDK 11. 

Check the below link to get the zip file

https://www.sonarsource.com/products/sonarqube/downloads/historical-downloads/

Was using latest version of SonarQube, was getting some issue. then used version 9. Still, getting issue. Finally resolved the issue. So, if you are exploring SonarQube and if its not working as expected, try to delete the temp folder content under unzipped SonarQube folder. If you are not able to delete the temp files, there might be jars running behind the scene and its not stopped properly. System restart will work here

Finally I am using Version 8.9

Avatar

Level 6

Missed to mention this article link in my previous post.

Here is the link to: How to use SonarQube tool for AEM application. Thanks to Mr. Somnath Mookerjee https://medium.com/@som.engg/aem-code-quality-the-sonar-way-7f04a171680