Managing certificates with the embedded Java runtime in SonarLint

Hello Denis, thank you for your feedback!

I agree that when the sonarlint.ls.javaHome property is set, it should be honored by SonarLint. I created a ticket to adjust this behavior in an upcoming version.

As a workaround until this ticket is done an shipped, you can:

  • Uninstall your current, platform-specific SonarLint from VSCode
  • Download the “Universal” VSIX from the marketplace

Screenshot from 2022-09-02 14-09-55

  • Manually install the downloaded VSIX
  • Restart VSCode

The “universal” VSIX does not embed a JRE and should honor the path you set in sonarlint.ls.javaHome.

Please note that the minimum requirement is still Java 11 at the time of writing this message.