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

45 Ansichten (letzte 30 Tage)
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

Antworten (1)

Aditya Salveru
Aditya Salveru am 17 Okt. 2019
Bearbeitet: Aditya Salveru am 18 Okt. 2019
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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by