It appears based on your pasted output that you downloaded the version of sonar-scanner that includes an embedded JRE yet you also have a separate JDK already installed. In this case, you may wish to use the sonar-scanner zip install that does not bundle another JRE.
Yet still, it should have succeeded. How exactly did you invoke sonar-scanner and from which directory? Did you add its bin directory to your PATH first as our docs suggest? Is it being invoked directly or within another shell or script of some kind?
Turns out the error message is misleading. The real problem is the java executable that is included in sonar-scanner-#.#.#.####-linux/jre/bin/ needs execute permissions set. After running