Matlab R2012b - Java Exception, Error Starting Desktop
이전 댓글 표시
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
2012년 10월 16일
Same thing happens to me on a macbook. Same exception, exception disappears when starting matlab using sudo. Any help appreciated!
-Tim
채택된 답변
추가 답변 (1개)
Jonathan Wang
2012년 11월 21일
8 개 추천
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
Matt
2013년 1월 14일
thanks, this worked for me. Wonder how it got messed up, last week there was no problem....
Freddy Mendoza
2013년 1월 28일
This also works for me with MATLAB R2012b on Ubuntu 12.04
thanks!!
Markus Schmidt
2013년 5월 16일
편집: Markus Schmidt
2013년 5월 16일
Correct solution for MATLAB R2013a on ubuntu 12.04.2.
I tried to start via terminal a second instance of matlab with a different user. Perhaps this messed up my profile...
Saleh
2014년 9월 16일
Thanks! Correct solution for MATLAB R2012b on Mac OS X 10.9.4. I tried to run MATLAB from terminal using 'sudo' command. After that I was getting the same error. This fixed the problem.
Fan Meng
2015년 6월 1일
Thanks a lot! It works on for Matlab 2014a on Ubuntu 15.04.
Jonathan Lee
2015년 6월 9일
Thanks! Correct solution for Matlab 2014b on ubuntu 14.04
Vahid Daneshmand
2015년 9월 6일
Thanks a lot! That worked for me for MATLAB R2015a on UBUNTU 15.04. :-)
Taiping
2016년 4월 11일
Thanks! It works for Matlab 2014a on ubuntu 12.04 LTS
Deepashree Gurumurthy
2016년 8월 10일
Thank you !! worked for Matlab 2016a on Ubuntu 14.04 ! :)
Keyu Wu
2017년 6월 13일
Thank you !! worked for Matlab 2017a on Ubuntu 16.04 ! :)
Hector Gabriel Rodriguez
2017년 9월 21일
Thank you !! worked for Matlab 2016b on Ubuntu 17.04 ! :)
Spyridon Daskalakis
2018년 2월 22일
Thank you mate !! worked for Matlab 2017b on Ubuntu 16.04 ! :)
Rajdeep Bhattacharjee
2018년 4월 22일
편집: Rajdeep Bhattacharjee
2018년 4월 22일
Thanks for this wonderful solution :-) | Matlab R2017b Ubuntu 16.06
John Emad
2018년 11월 21일
THANK YOU ... worked on matlab R17b ubuntu 16.04
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!