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
2011 年 1 月 21 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!