Change java task name in windows for SonarQube IDE

Hello team, I am using SonarQube plug-in for IntelliJ IDE, Everything works excellent; however, I was wondering if it is possible to change the Java task name launched by the IDE. See pictures below

I have a CMD command that kills all java.exe processes. I think I can solve that by renaming the SonarQube name to something different, like the idea64.exe, which belongs to IntelliJ IDE

I really appreciate any help you can provide.

Hello @Janm,

Thanks for reaching out. It would be feasible to change the name but it means for us bundling a new dedicated .exe file. Nothing impossible, but it’s definitely not part of our current priorities.

As a workaround, you might be able to modify your script to rely on the jps command, which shows the list of active Java processes (this tool should be bundled in all JDKs). You could then from the script filter out processes named SonarLintServerCli, which is the name of the SQ IDE plugin main class.

Hope this helps

1 Like

Thank you so much for your response. The workaround works perfect for me

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.