无法启动或卸载MATLAB R2019b

29 visualizaciones (últimos 30 días)
Guichen Zhang
Guichen Zhang el 5 de Oct. de 2019
Comentada: Guichen Zhang el 17 de Jun. de 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 comentarios
KE SU
KE SU el 18 de Feb. de 2020
I'm from NJU, too and I'm also facing this problem. Have you ever solved it yet?
Guichen Zhang
Guichen Zhang el 17 de Jun. de 2020
Sorry, I don't know how to solve this so I gave up at last.

Iniciar sesión para comentar.

Respuestas (1)

Akshit Agarwal
Akshit Agarwal el 11 de Oct. de 2019
Editada: Akshit Agarwal el 11 de Oct. de 2019
Hi,
and see if this resolves the issue.
  2 comentarios
Guichen Zhang
Guichen Zhang el 24 de Oct. de 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 el 8 de Mzo. de 2020
快捷方式里面有一个目标(T),后面是路径,我试了但是提醒我路径不对,也没有用。

Iniciar sesión para comentar.

Categorías

Más información sobre 安装和许可简介 en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!