Viewable by the world

Purpose of knowledge article

  • This article will help provide a possible fix for MATLAB crashing in macOS Sonoma when closing out the Figure windows
  • This fix was shared by Christian Messe

Cause

  • This happens because of a compatibility issue with the JavaVM

Resolution

1Go to https://adoptium.netno image
2

Download the OpenJDK

Please make sure you download the correct OpenJDK version

no image
3Follow the onscreen instruction to install itno image
4Once installed, make sure MATLAB is set to use the environment by typing jenv("/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home") into the MATLAB consoleno image

Additional Resources


  • No labels