Matlab R2012b - Java Exception, Error Starting Desktop

조회 수: 2 (최근 30일)
Bart Geurten
Bart Geurten 2012년 10월 16일
댓글: John Emad 2018년 11월 21일
Hi folks,
I updated my Matlab R2012b on my Ubuntu system (11.04). The installation process went smoothly, but when I want to start Matlab, I encounter the following error, before the programm shuts down.
java.lang.runtimeexception: std::exception for "matlab.desktop.currentfolder.GroupColumn": Cannot write to the level specified even after multiple times of retry. It'S mostly due to no write permission.
It seems to be a rights or ownership problem because if I start Matlab with the sudo command, it starts up fine. I could not find the libary or the file Matlab tries to edit. Any ideas?
thanks
Bart
  댓글 수: 1
Timothy Hilton
Timothy Hilton 2012년 10월 16일
Same thing happens to me on a macbook. Same exception, exception disappears when starting matlab using sudo. Any help appreciated!
-Tim

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

채택된 답변

Jordan Schmidt
Jordan Schmidt 2012년 10월 17일
Most likely you don't have write permissions on your preferences directory. You can determine the location of the MATLAB preferences folder by running the PREFDIR command at the MATLAB prompt. If for some reason you're unable to fix the permissions, you can try changing the prefs directory location:
  댓글 수: 1
Bart Geurten
Bart Geurten 2012년 10월 18일
thanks a lot Jordan. This fixed the problem for me. I just changed the ownership on the preference directory with the chown command to my account.

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

추가 답변 (1개)

Jonathan Wang
Jonathan Wang 2012년 11월 21일
following command could also solve your issue:
sudo chmod -R a+rw ~/.matlab
You need option "-R" here to apply the change to all of its sub-folders too.
Hope it helps. :-)
  댓글 수: 14
Rajdeep Bhattacharjee
Rajdeep Bhattacharjee 2018년 4월 22일
편집: Rajdeep Bhattacharjee 2018년 4월 22일
Thanks for this wonderful solution :-) | Matlab R2017b Ubuntu 16.06
John Emad
John Emad 2018년 11월 21일
THANK YOU ... worked on matlab R17b ubuntu 16.04

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

카테고리

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