My sonar download for macOS AArch64 didn't include anything in jre/bin. I need to make a symbolic link to my actual java location from JAVA_HOME in jre/bin.
cd jre/bin
ln -s /Users/user/Library/Java/JavaVirtualMachines/corretto-21.0.3/Contents/Home/bin/java java
Other users reported they needed to grant more permissions to their java executable. From here: https://community.sonarsource.com/t/could-not-find-java-executable-in-java-home/36504
chmod 755 .../sonar-scanner-#.#.#.####-linux/jre/bin/java