Matlab R2012b - Java Exception, Error Starting Desktop
Mostrar comentarios más antiguos
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 comentario
Timothy Hilton
el 16 de Oct. de 2012
Same thing happens to me on a macbook. Same exception, exception disappears when starting matlab using sudo. Any help appreciated!
-Tim
Respuesta aceptada
Más respuestas (1)
Jonathan Wang
el 21 de Nov. de 2012
8 votos
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 comentarios
Matt
el 14 de En. de 2013
thanks, this worked for me. Wonder how it got messed up, last week there was no problem....
Freddy Mendoza
el 28 de En. de 2013
This also works for me with MATLAB R2012b on Ubuntu 12.04
thanks!!
Markus Schmidt
el 16 de Mayo de 2013
Editada: Markus Schmidt
el 16 de Mayo de 2013
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
el 16 de Sept. de 2014
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
el 1 de Jun. de 2015
Thanks a lot! It works on for Matlab 2014a on Ubuntu 15.04.
Jonathan Lee
el 9 de Jun. de 2015
Thanks! Correct solution for Matlab 2014b on ubuntu 14.04
Vahid Daneshmand
el 6 de Sept. de 2015
Thanks a lot! That worked for me for MATLAB R2015a on UBUNTU 15.04. :-)
Taiping
el 11 de Abr. de 2016
Thanks! It works for Matlab 2014a on ubuntu 12.04 LTS
Deepashree Gurumurthy
el 10 de Ag. de 2016
Thank you !! worked for Matlab 2016a on Ubuntu 14.04 ! :)
Keyu Wu
el 13 de Jun. de 2017
Thank you !! worked for Matlab 2017a on Ubuntu 16.04 ! :)
Hector Gabriel Rodriguez
el 21 de Sept. de 2017
Thank you !! worked for Matlab 2016b on Ubuntu 17.04 ! :)
Spyridon Daskalakis
el 22 de Feb. de 2018
Thank you mate !! worked for Matlab 2017b on Ubuntu 16.04 ! :)
Rajdeep Bhattacharjee
el 22 de Abr. de 2018
Editada: Rajdeep Bhattacharjee
el 22 de Abr. de 2018
Thanks for this wonderful solution :-) | Matlab R2017b Ubuntu 16.06
John Emad
el 21 de Nov. de 2018
THANK YOU ... worked on matlab R17b ubuntu 16.04
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!