After an automatic MacOS update (15.3) java stopped working inside Ubuntu 24.04 arm64 #7003
-
Yesterday, Dbeaver (java app) worked fine with UTM 4.6.3. Today I wake up to macos 15.3 automatically installed. Today, Java inside my Ubuntu guest now crashes even for a simple "java --version" and obviously, Dbeaver stopped working. Tried also updating UTM to 4.6.4 with the same result.
I'm attaching the log. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Same problem here. Intellij and Java crashed in Ubuntu arm64 24.04 after updating to MacOS 15.3. |
Beta Was this translation helpful? Give feedback.
-
That seems like the upstream OpenJDK 21 issue that affects Apple Silicon Macs with MacOS 15.2+ This has been fixed in a new minor release of OpenJDK and was picked up by Amazon Corretto as well. However, tools that embed their own version of the JDK (like IntelliJ) are still having problems. https://bugs.openjdk.org/browse/JDK-8345296 Recommended workaround is to set an environment variable:
I set up a little script to launch my intellij but you can just use it to launch one from the terminal and then follow the instructions below to switch the default java run time for the IDE. Remember to switch it back to default once Jetbrains releases a new on that incorporates the upstream fix.
|
Beta Was this translation helpful? Give feedback.
That seems like the upstream OpenJDK 21 issue that affects Apple Silicon Macs with MacOS 15.2+
This has been fixed in a new minor release of OpenJDK and was picked up by Amazon Corretto as well. However, tools that embed their own version of the JDK (like IntelliJ) are still having problems.
https://bugs.openjdk.org/browse/JDK-8345296
Recommended workaround is to set an environment variable:
JAVA_TOOL_OPTIONS="-XX:UseSVE=0"
I set up a little script to launch my intellij but you can just use it to launch one from the terminal and then follow the instructions below to switch the default java run time for the IDE. Remember to switch it back to default once Jetbrains releases a new on that in…