79419837

Date: 2025-02-07 02:19:57
Score: 0.5
Natty:
Report link

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
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: user1689987