java.lang.ExceptionInInitializerError
Contents
After i complete to install matlab R2016b on ubuntu, i tried to modify the default fonts. I thought i might make some mistakes and when i restarted MATLAB it threw out some error as follows:
java.lang.ExceptionInInitializerError
at com.mathworks.mde.cmdwin.XCmdWndView.<init>(XCmdWndView.java:353)
at com.mathworks.mde.cmdwin.XCmdWndView.<clinit>(XCmdWndView.java:314)
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:246)
at com.mathworks.widgets.desk.Desktop.createClientComponent(Desktop.java:5646)
at com.mathworks.mde.desk.MLDesktop.createClientComponent(MLDesktop.java:895)
...
However, i could start MATLAB normally on terminal with matlab -nodisplay
. So i guess i need reset the configure for MATLAB.
I do it!
$ rm -R ~/.matlab
Well, it works!
Author F. Cheng
LastMod 2017-01-09