java - MATLab crashes on launch OS X Yosemite

08
2014-07
  • Tomm Armstrong

    I've just installed the OS X Yosemite beta and can't open MATLab 2014a.

    It displays this error dialog:

    enter image description here

    Does anyone have any ideas as to how this could be resolved?

  • Answers
  • Naiqi

    Temporary solution:

    change the 10.10 in /System/Library/CoreServices/SystemVersion.plist under ProductVersion to 10.9 or lower can solve you the problem.

    However, it forbids Safari, Mail from booting. Thus you can only choose one to use a time, and change the ProductVersion back and forth.

  • Behrad3d

    There is another issue with Yosemite Beta 2. It prevents Matlab from running at the very first point with this error message: "You can’t use this version of the application “MATLAB_R2012b” with this version of OS X."

    The solution is: 1- find Matlab application file under Applications folder 2- Right (Control) click and select "Show Package Contents" 3- Navigate to : "Contents/Mac OS" 4- Right (control) click on "startMatlab" file 5- Make an Alias 6- Copy the Alias to another folder e.g. your desktop. 7- Run the alias.

    You will still need to have those temporary fixes that were used in Beta 1 for running Matlab.

    Here is the tutorial video for fixing the problem (on Beta 2): https://www.youtube.com/watch?v=HAMyQEOHWh0

    and as a reminder here is the video for fixing crash on Beta 1: https://www.youtube.com/watch?v=GoQnzIyOkB0

  • user333118

    A fix that allows you to launch and run both MatLab and the Mac OS 10.10 Yosemite standard apps all at once is to set the ProductVersion to 10.90 instead of 10.9 or 10.10.


  • Related Question

    osx - How to uninstall previous version of Matlab in Mac OS X?
  • hpy

    I successfully installed MatLab 2011a on my MacBook Pro running Mac OS X 10.6.7.

    However, I also have an old installation of Matlab 2010b on the computer, how do I completely and cleanly remove it without affecting my new Matlab?

    Thanks.


  • Related Answers
  • Nagel

    Deleting the older Matlab's .app file from your Applications folder should be all you need to do.

    (There are apps for completely removing apps from your Mac. AppZapper is the most well-known; I use AppTrap, which is a free and IMHO better alternative. These apps remove system files etc. associated with the app you're deleting. In this case, however, since you're effectively updating and not deleting Matlab, you would probably want to keep these files.)

  • hpy

    Finally found out that just deleting the app file is enough, but ONLY AFTER you deactivate your copy of MatLab before you remove it.