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

2 次查看(过去 30 天)
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)

采纳的回答

MathWorks Support Team
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

尚未输入任何标签。

产品


版本

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by