MacOS 13.3 beta killed Java??

I've been running OpenJDK & Apache Tomcat on my M1 MBAir - but with Ventura 13.3 I can't any longer...

% java --version

A fatal error has been detected by the Java Runtime Environment:

SIGBUS (0xa) at pc=0x00000001038e6f38, pid=1446, tid=8707

JRE version: (19.0.2) (build )

Java VM: OpenJDK 64-Bit Server VM (19.0.2, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)

Problematic frame:

V [libjvm.dylib+0x3baf38] CodeHeap::allocate(unsigned long)+0x1c0

No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

I've tried brew uninstall openjdk, reboots, brew install java, reboots, etc... nothing.

Any thoughts?

Answered by CryptoKoa in 745349022

Oracle for the win! I quit messing with "brew install java" and instead downloaded the .dmg for openJKD directly from Oracle and that worked.

Accepted Answer

Oracle for the win! I quit messing with "brew install java" and instead downloaded the .dmg for openJKD directly from Oracle and that worked.

Thanks for posting this error message; I am getting me same message this past week, which is when I upgraded to Ventura 13.3. I have tried downloading the open JDK right from Oracle as well as Azul. I have also tried installing with Brew.

Has anyone else worked on or solved this issue?

Late, but for anyone who might run across this in future, I was just able to resolve this on a system reporting the same error for multiple JDKs. Turns out SIP was disabled for some unknown reason, re-enabling resolved it.

To check its status on your machine, run csrutil status. If the output shows that SIP is disabled, run sudo csrutil clear and reboot.

MacOS 13.3 beta killed Java??
 
 
Q