Fatal Error On Startup java exception occured: java.lang.NoClassDefFoundError: 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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/237852/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/237852/image.jpeg)
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!