Matlab does not launch
10 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a problem since yesterday, as I was trying to use matlab, it launch and then I obtain these following error messages :
- Failed to load nativecmdwin library: no nativecmd in java.library.path
- Command window creation failed, for details see C:\Users\Soichi\Appdata\Temp\MatlabDestopCreateError.log
Then I open the log obtaining this : java.lang.ExceptionInInitializerError at com.mathworks.mde.cmdwin.XCmdWndView.<init>(XCmdWndView.java:341) at com.mathworks.mde.cmdwin.XCmdWndView.<clinit>(XCmdWndView.java:312) at com.mathworks.mde.cmdwin.CmdWin.<init>(CmdWin.java:96) at com.mathworks.mde.cmdwin.CmdWin.<clinit>(CmdWin.java:92) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.mathworks.jmi.ClassLoaderManager.loadClass(ClassLoaderManager.java:442) at com.mathworks.jmi.ClassLoaderManager.findClass(ClassLoaderManager.java:422) at com.mathworks.jmi.Matlab$1.findClass(Matlab.java:465) at com.mathworks.util.ClassLoaderBridge.findClass(ClassLoaderBridge.java:24) at com.mathworks.widgets.desk.DTClient.createComponent(DTClient.java:249) at com.mathworks.widgets.desk.Desktop.createClientComponent(Desktop.java:5634) at com.mathworks.mde.desk.MLDesktop.createClientComponent(MLDesktop.java:894) at com.mathworks.widgets.desk.Desktop.createClientComponentWrapper(Desktop.java:5648) at com.mathworks.widgets.desk.Desktop.setClientShowing(Desktop.java:6259) at com.mathworks.widgets.desk.Desktop.setClientShowing(Desktop.java:6246) at com.mathworks.widgets.desk.Desktop.restoreLayout(Desktop.java:5159) at com.mathworks.mde.desk.MLDesktop.restoreLayout(MLDesktop.java:1412) at com.mathworks.widgets.desk.Desktop.restoreLayout(Desktop.java:4882) at com.mathworks.widgets.desk.Desktop.restorePreviousLayout(Desktop.java:3784) at com.mathworks.widgets.desk.Desktop.initMainFrame(Desktop.java:288) at com.mathworks.mde.desk.MLDesktop.initMainFrameFromThread(MLDesktop.java:763) at com.mathworks.mde.desk.MLDesktop.access$2000(MLDesktop.java:166) at com.mathworks.mde.desk.MLDesktop$Initializer.run(MLDesktop.java:1046) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: com.mathworks.mvm.eventmgr.InvalidEventTypeException: java.lang.reflect.InvocationTargetException at com.mathworks.mvm.eventmgr.EventListening.getStaticEventType(EventListening.java:71) at com.mathworks.mvm.eventmgr.DefaultEventMgr.addMvmListener(DefaultEventMgr.java:62) at com.mathworks.mvm.eventmgr.DefaultEventMgr.addMvmListener(DefaultEventMgr.java:50) at com.mathworks.mde.cmdwin.CmdWinDocument.<init>(CmdWinDocument.java:296) at com.mathworks.mde.cmdwin.CmdWinDocument.<clinit>(CmdWinDocument.java:232) ... 32 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.mathworks.mvm.eventmgr.EventListening.getStaticEventType(EventListening.java:68) ... 36 more Caused by: java.lang.UnsatisfiedLinkError: com.mathworks.mde.cmdwin.TypoSuggestionEvent.getEventType()Ljava/lang/String; at com.mathworks.mde.cmdwin.TypoSuggestionEvent.getEventType(Native Method) at com.mathworks.mde.cmdwin.TypoSuggestionEvent.getStaticEventType(TypoSuggestionEvent.java:25) ... 41 more
But I don't know what tot do with this...
How can I solve my probleme it is very urgent, plz help me !
0 个评论
回答(3 个)
LL11
2014-7-24
Hi,
I've also been having this problem (same error message, very similar .log file) since this Tuesday.
I don't know what to do -- I tried reinstalling java, but it didn't help.
Any help would be much appreciated.
Thanks.
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!