Error on startup. MATLAB will not run any scripts anymore

1 visualización (últimos 30 días)
Jacob Huber
Jacob Huber el 24 de Nov. de 2016
Respondida: Karan Singh el 6 de En. de 2025
I receive this error in the command window in MATLAB
Exception in thread "Startup Class Loader" java.lang.NoClassDefFoundError: com/jogamp/common/os/Platform
at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:146)
at com.mathworks.hg.peer.JavaSceneServerPeer.initializeJOGL(JavaSceneServerPeer.java:147)
at com.mathworks.hg.peer.JavaSceneServerPeer.<clinit>(JavaSceneServerPeer.java:117)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:259)
at com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoader.java:25)
at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:245)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.jogamp.common.os.Platform
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 9 more
  3 comentarios
Pooyan Kheirkhah
Pooyan Kheirkhah el 2 de Dic. de 2020
I am getting the same error after installing Matlab R2020-b. I see that this thread is relatively old, has there been any solutions to this?
Walter Roberson
Walter Roberson el 2 de Dic. de 2020
Try renaming your preference directory as sometimes this kind of problem is caused by corrupted preferences.

Iniciar sesión para comentar.

Respuestas (1)

Karan Singh
Karan Singh el 6 de En. de 2025

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by