MatLab no longer opens - Java error in Windows 10

조회 수: 4 (최근 30일)
Graham Triggs
Graham Triggs 2017년 1월 20일
댓글: Steven Lord 2017년 1월 23일
I installed MatLab 2016b last week, and was using it without any issues. Now when I open it, I get the following errors (see attached screen grab). The only thing I've changed is connected a second display to my laptop. I can still launch it with the -nodesktop option. Any help to fix this would be great, I've searched for a couple of hours and have not found anything yet.
  댓글 수: 1
Walter Roberson
Walter Roberson 2017년 1월 20일
If you remove the second display then does it start working again?

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2017년 1월 20일
편집: Walter Roberson 2017년 1월 23일
As it is failing while trying to restore widget locations, I suggest that you experiment with renaming your prefdir (to move it out of the way) and seeing if it can start after that.
  댓글 수: 2
Graham Triggs
Graham Triggs 2017년 1월 23일
Thank you, Walter. This did the trick!
Steven Lord
Steven Lord 2017년 1월 23일
You may want to zip up your preference directory (or at least the files in it whose names contain the word "desktop") and send them to Technical Support using the Contact Us link in the upper-right corner of this page.
If the preference files were corrupted as the result of a bug, the Support staff (and the developers) may be able to use that information to locate and exterminate the bug. Your preference directory's path is given by the prefdir function; if you're on Windows you can easily open it in Windows Explorer using this command:
winopen(prefdir)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by