Clear Filters
Clear Filters

无法启动或卸载MATLAB R2019b

11 views (last 30 days)
Guichen Zhang
Guichen Zhang on 5 Oct 2019
Commented: Guichen Zhang on 17 Jun 2020
我使用的版本是南京大学MATLAB校园版R2019b,成功安装之后打开时总是弹出“fatal error on statup”窗口,下面显示这样一大串文字:
Java exception occurred: java. lang. ExceptionlnlnitializerError at com. mathworks. mde. desk. MLDesktop.<init>(MLDesktop. java:567)
at com. mathworks. mde. desk. MLDesktop. getinstance(MLDesktop. java:655)
Caused by: java. lang. NullPointerException at sun. awt. FontConfiguration. getVersion(FontConfiguration. java:1264)
at sun. awt. FontConfiguration. readFontConfigFile(FontConfiguration. java:219)
at sun. awt. FontConfiguration. init(FontConfiguration, java:107)
at sun. awt. Win32FontManager. createFontConfiguration(Win32FontManager. java:182)
at sun. font. SunFontManager$2. run(SunFontManager. java:431)
at java. security. AccessController. doPrivileged(Native Method)
at sun. font. SunFontManager.<init>(SunFontManager. java:376)
at sun. awt. Win32FontManager.<init>(Win32FontManager. java:89)
at sun. reflect. NativeConstructorAccessorlmpl. newlnstance0(Native Method)
at sun. reflect. NativeConstructorAccessorlmpl. newlnstance(NativeConstructorAccessorlmpl. java:62)
at sun. reflect. DelegatingConstructorAccessorlmpl. newlnstance(DelegatingConstructorAccessorlmpl. java:45)
at java. lang. reflect. Constructor. newlnstance(Constructor. java:423)
at java. lang. Class. newlnstance(Class. java:442)
at sun. font. FontManagerFactory$1. run(FontManagerFactory. java:83)
at java. security. AccessController. doPrivileged(Native Method)
at sun. font. FontManagerFactory. getlnstance(FontManagerFactory. java:74)
at java. awt. Font. getFont2D(Font, java:491)
at java. awt. Font. access$000(Font, java:224)
at java. awt. FontSFontAccesslmpl. getFont2D(Font. java:228)
at sun. font. FontUtilities. getFont2D(FontUtilities. java:180)
at sun. font. FontUtilities. fontSupportsDefaultEncoding(FontUtilities. java:338)
at com. sun, java. swing, plaf: windows. WindowsLookAndFeelSWindowsFontProperty. configureValue(WindowsLookAndFeel. java:2293)
at com. sun. java. swing. plaf. windows. DesktopProperty. createValue(DesktopProperty. java:154)
at javax. swing. UIDefaults. getFromHashtable(UIDefaults, java:231)
at javax. swing. UIDefaults. get(UIDefaults, java:161)
at javax. swing. MultiUIDefaults. get(MultiUIDefaults. java:64)
at javax. swing. UIDefaults. getFont(UIDefaults, java:388)
at javax. swing. UIManager. getFont(UlManager. java:672)
at javax. swing. LookAndFeel. installColorsAndFont(LookAndFeel, java:208)
at javax. swing. plaf. basic. BasicPanelUl. installDefaults(BasicPanelUl., java:66)
at javax. swing. plaf. basic. BasicPanelUL. installUI(BasicPanelUl, java:56)
at javax. swing. JComponent. setUI(JComponent. java:666)
at javax. swing. JPanel. setUI(JPanel. java:153)
at javax. swing. JPanel. updateUI(JPanel. java:126)
at javax. swing. JPanel.<init>(JPanel. java:86)
at javax. swing. JPanel.<init>(JPanel. java:109)
at javax. swing. JPanel.<init>(JPaneljava:117)
at com. mathworks. mde. explorer. Explorer.<clinit>(Explorer. java:156)
.2 more
  3 Comments
KE SU
KE SU on 18 Feb 2020
I'm from NJU, too and I'm also facing this problem. Have you ever solved it yet?
Guichen Zhang
Guichen Zhang on 17 Jun 2020
Sorry, I don't know how to solve this so I gave up at last.

Sign in to comment.

Answers (1)

Akshit Agarwal
Akshit Agarwal on 11 Oct 2019
Edited: Akshit Agarwal on 11 Oct 2019
Hi,
and see if this resolves the issue.
  2 Comments
Guichen Zhang
Guichen Zhang on 24 Oct 2019
The second answer you mentioned says:
1. Right click on the MATLAB shortcut and choose properties.
2. Go to the end of the "Target" line, after MATLAB.exe, and add the flag -nodesktop. For example:
"C:\Program Files\Matlab\R2016a\bin\matlab.exe" -nodesktop
But i cant find 'target' after starting properties, why?
TIM图片20191024102127.png
YANG CONG
YANG CONG on 8 Mar 2020
快捷方式里面有一个目标(T),后面是路径,我试了但是提醒我路径不对,也没有用。

Sign in to comment.

Categories

Find more on 安装和许可简介 in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!