필터 지우기
필터 지우기

无法启动或卸载MATLAB R2019b

조회 수: 11 (최근 30일)
Guichen Zhang
Guichen Zhang 2019년 10월 5일
댓글: Guichen Zhang 2020년 6월 17일
我使用的版本是南京大学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
KE SU
KE SU 2020년 2월 18일
I'm from NJU, too and I'm also facing this problem. Have you ever solved it yet?
Guichen Zhang
Guichen Zhang 2020년 6월 17일
Sorry, I don't know how to solve this so I gave up at last.

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

답변 (1개)

Akshit Agarwal
Akshit Agarwal 2019년 10월 11일
편집: Akshit Agarwal 2019년 10월 11일
Hi,
and see if this resolves the issue.
  댓글 수: 2
Guichen Zhang
Guichen Zhang 2019년 10월 24일
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 2020년 3월 8일
快捷方式里面有一个目标(T),后面是路径,我试了但是提醒我路径不对,也没有用。

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

카테고리

Help CenterFile Exchange에서 安装和许可简介에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!