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

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.

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2019 年 9 月 11 日

編集済み:

2019 年 10 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by