Doh, this is my bad for overlooking this.
From distant memory I think in such case you might want to make sure which Java SonarQube is picking up under the hood. Full startup logs might help (see troubleshooting doc), also maybe a quick look into the wrapper.java.command
under conf/wrapper.conf
(in install directory).