Configuring sonar-scanner in Debian: "Could not find 'java' executable in JAVA_HOME or PATH."

Hi @MS1, welcome to the SonarSource Community!

It looks like maybe you downloaded the archive of the scanner that relies an an external JVM. This is great if you already have one, but in your case it sounds like you don’t and likely don’t use java for other software. If you revisit the scanner page in our docs, the version for “Linux 64-bit” should include a JVM and then have no problem finding java because it will be bundled within.

1 Like