Matlab desktop class failure

조회 수: 6 (최근 30일)
A
A 2014년 9월 17일
댓글: Sean de Wolski 2014년 9월 17일
I am running Matlab R2012b on my Mac OSX 10.6.8. I have Java 1.6.0_65-b14-462-10M4609.
When I try to open Matlab, the icon will appear in my dock for a few seconds and quickly go away.
I CAN open nodesktop version of my Matlab through X11 without any problem. But when I try to open desktop version, it gives me the following error:
Fatal Error on startup: Internal Error: Failure occurs during desktop startup. Details: Failure loading desktop class.
Thank you

답변 (1개)

Sean de Wolski
Sean de Wolski 2014년 9월 17일
Sounds like it could be a preferences issue. Run the attached function in nodesktop mode to refresh the preferences.
  댓글 수: 4
A
A 2014년 9월 17일
I am also getting these errors when starting Matlab in nodesktop mode:
Unable to initialize com.mathworks.mlwidgets.html.HTMLPrefs Unable to initialize com.mathworks.mwswing.MJStartup Unable to initialize com.mathworks.toolstrip.plaf.TSLookAndFeel
To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com.
Warning: Initializing Java preferences failed in matlabrc. This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was: MATLAB:Java:GenericException Java exception occurred: java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator at com.mathworks.util.osgi.ClasspathOSGiManager.<init>(ClasspathOSGiManager.java:35) at com.mathworks.util.osgi.ClasspathOSGiManager.getInstance(ClasspathOSGiManager.java:30) at com.mathworks.mde.editor.debug.DebuggerInstaller.init(DebuggerInstaller.java:30) Caused by: java.lang.ClassNotFoundException: org.osgi.framework.BundleActivator at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 3 more > In matlabrc at 110 Warning: Function /Users/sackleroutsidefellow/Desktop/mvpa/afni_matlab/isrow.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. > In path at 110 In addpath at 87 In mvpa_add_paths>myaddpath at 41 In mvpa_add_paths at 33 In startup at 3 In matlabrc at 202
Thank you
Sean de Wolski
Sean de Wolski 2014년 9월 17일
contact technical support.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by