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
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개)

카테고리

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