Why do I receive the error "Warning: An error occurred while reading the desktop configuration file" when launching MATLAB?

조회 수: 16 (최근 30일)
Why do I receive the error "Warning: An error occurred while reading the desktop configuration file" when launching MATLAB?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 1월 25일
편집: MathWorks Support Team 2021년 1월 27일
If you are launching MATLAB and receiving the following error you might be using a different version of Java than the one shipped with MATLAB. 
ERROR: Warning: An error occurred while reading the desktop configuration file
In order to check the version of Java that MATLAB is using, launch MATLAB and run the following command. 
version -java
Check for a MATLAB_JAVA environment variable set on your system. If a MATLAB_JAVA environment variable is set, remove it and relaunch MATLAB twice to see if the issue persists. 
If this does not help, it was also possible to resolve this via the following commands:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
If you are still unable to start MATLAB properly after removing the MATLAB_JAVA environment variable and doing the commands above, please contact MathWorks Support. They can be reached here:
  댓글 수: 1
Ross Nye
Ross Nye 2017년 11월 29일
I'm having the same problem (and I don't have a MATLAB_JAVA either) and am now wondering the following
  • Why is my Matlab, 2017a, using such an old version of Java, 1.7.0 u60? It was released in 2014.
  • Why is my Matlab, which clearly has to be newer than your version, using an older version of Java than your is?
  • Why didnt TMW Support team respond to your query when someone there last edited this post, which was after you posted.

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

추가 답변 (0개)

카테고리

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

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by