Borrar filtros
Borrar filtros

Matlab R2012b - Java Exception, Error Starting Desktop

8 visualizaciones (últimos 30 días)
Bart Geurten
Bart Geurten el 16 de Oct. de 2012
Comentada: John Emad el 21 de Nov. de 2018
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
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

Iniciar sesión para comentar.

Respuesta aceptada

Jordan Schmidt
Jordan Schmidt el 17 de Oct. de 2012
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 comentario
Bart Geurten
Bart Geurten el 18 de Oct. de 2012
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.

Iniciar sesión para comentar.

Más respuestas (1)

Jonathan Wang
Jonathan Wang el 21 de Nov. de 2012
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
Rajdeep Bhattacharjee
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
John Emad el 21 de Nov. de 2018
THANK YOU ... worked on matlab R17b ubuntu 16.04

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by