Why is Java not running on Apple Silicon?
Solution 1:
/usr/bin/java
is not the Java runtime. It is a wrapper that will launch a Java runtime. You can determine which Java runtime/JDK you're actually using by examining java --version
.
Java versions are typically installed in /Library/Java/JavaVirtualMachines
. You can download an Apple Silicon native JRE/JDK and copy it to that location and remove existing ones to ensure this.