Matlab desktop class failure

2 visualizzazioni (ultimi 30 giorni)
A
A il 17 Set 2014
Commentato: Sean de Wolski il 17 Set 2014
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

Risposte (1)

Sean de Wolski
Sean de Wolski il 17 Set 2014
Sounds like it could be a preferences issue. Run the attached function in nodesktop mode to refresh the preferences.
  4 Commenti
A
A il 17 Set 2014
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 il 17 Set 2014
contact technical support.

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by