Fatal Error On Startup java exception occured: java.lang.​​NoClassDe​f​FoundErr​or​: Could not initialize class sun.awt.Win32FontManager

12 次查看(过去 30 天)
Hi, this error occurs after trying to start MATLAB R2019a (new installation) on a Windows 10 Home 64 Bit platform (16 RAM, Intel Core i7, enough free disk space available). How can this be fixed? Thanks

回答(1 个)

Aditya Salveru
Aditya Salveru 2019-10-17
编辑:Aditya Salveru 2019-10-18
Hi Michael,
This error might have occurred due to Improper installation of MATLAB.
In order to work around the issue, start MATLAB with 'nojvm' tag. Please follow the steps given below:
1. Open Command Prompt and navigate to the drive where you installed MATLAB.
2. Execute the following command to open MATLAB with 'nojvm' tag in Command Prompt:
matlab -nojvm
3. MATLAB Command Window will open up and then you can execute the following commands in it:
>>restoredefaultpath
>>rehash toolboxcache
>>savepath
4. Restart MATLAB normally.
If the above solution does not work, try reinstalling MATLAB.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by