Why do I receive a java error in the MATLAB Command Window after starting MATLAB?

2 visualizaciones (últimos 30 días)
I receive the following java error in the MATLAB Command Window after startup:
java.lang.NoClassDefFoundError: ice/net/proxy/Proxy
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.mathworks.mde.desk.StartupClassLoader.callClassForName(StartupClassLoader.java:304)
at
com.mathworks.mde.desk.StartupClassLoader.access$000(StartupClassLoader.java:27)
at
com.mathworks.mde.desk.StartupClassLoader$LoadInfo.<init>(StartupClassLoader.java:80)
at
com.mathworks.mde.desk.StartupClassLoader.addLoadInfo(StartupClassLoader.java:219)
at
com.mathworks.mde.desk.StartupClassLoader.createLoadInfos(StartupClassLoader.java:195)
at
com.mathworks.mde.desk.StartupClassLoader.access$500(StartupClassLoader.java:27)
at
com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:147)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 21 de En. de 2011
The error is most likely the result of an old classpath.txt file from a previous release. Try the following to resolve the error:
1. In the MATLAB Command Window, type:
which -all classpath.txt
2. This should return $MATLAB/toolbox/local/classpath.txt, where $MATLAB is the directory in which MATLAB was installed. If MATLAB returns something else, remove the classpath.txt file.
If which -all classpath.txt returns nothing, reinstall MATLAB.
NOTE: DO NOT remove the classpath.txt file that is located in the $MATLAB/toolbox/local directory as this is required by MATLAB. If you accidentally remove this file, reinstall MATLAB.

Más respuestas (0)

Categorías

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

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by