Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
MATLAB startup crashes with El Capitan OS X
조회 수: 3 (최근 30일)
이전 댓글 표시
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154008/image.png)
댓글 수: 0
답변 (1개)
Anish Mitra
2016년 6월 27일
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.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!