Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

MATLAB startup crashes with El Capitan OS X

1 visualización (últimos 30 días)
amin rasoulof
amin rasoulof el 16 de Jun. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I just upgraded my mac system to El Capitan and with Matlab 2014b I have the same problem that the users with Matlab 2014a and earlier had with Yosemite:
I tried to solve this issue by following this
but I am not happy with changing my OS X version as I am not sure about the consequences. Is there any other way that I can solve this problem? For what it is worth, I transferred MATLAB 2014b from my Mavericks by Time Machine. I tried to fix the problem with these patches
but there is no 2014b version and after running the patch is complains about the right version. Here is the screenshot of the error:

Respuestas (1)

Anish Mitra
Anish Mitra el 27 de Jun. de 2016
This might be because of the Java version that R2014b is using. Can you start MATLAB with the "-nodesktop" flag, and then check the Java version :
>> version -java
This should be 1.7.0_55.
If it is not then you could check the following :
1) The MATLAB_JAVA environment variable is set. You can check this by opening up Terminal and typing the following:
echo $MATLAB_JAVA
If this is set, you will need to find where it is set and remove that command. You can remove it from an individual Terminal session with the command:
unset MATLAB_JAVA
And then launch MATLAB with:
/Applications/MATLAB_R2014b.app/bin/matlab
2) If MATLAB_JAVA was not set, it may be set by the shortcut you are using to launch MATLAB. You may have to delete this shortcut and create a new one.
3) If starting MATLAB from the Terminal in which MATLAB_JAVA is not set still causes the issue, it is possible that there is a softlink or shortcut in your Java folder located here:
/Applications/MATLAB_R2014b.app/sys/Java/jre/maci64/
The only folder in there should be 'jre' and it should not be a shortcut or softlink.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by