Matlab 2015a Java error after fresh installation?
Show older comments
Hi everyone,
after fresh Matlab installation on win8.1 64bit i get following fatal error on startup:
java exeption occured java.lang.noClassDefFoundError: Could not initialize class sun.awt.Win32FontManager
... ...
can anyone help me?
Accepted Answer
More Answers (4)
ALI
on 18 Jul 2018
0 votes
Hi Anusha,
MATLAB is giving that java error message at statup..
I just see matlab logo and error message.
How can I execute 1. restoredefaultpath 2. rehash toolboxcache?
Sincerely,
2 Comments
Cedric Girerd
on 15 Mar 2019
Hi there!
Could you tell me how you solved your problem? I have the same issue at the moment, and can't manage to find a solution. Don't have access to Matlab either, so no way for me to run some commands in it.
Best,
Gioele Luca Monopoli
on 17 Sep 2019
did you find a solution
Ralph Gunderson
on 17 Nov 2019
0 votes
Using the Command Prompt, you can navigate to your matlab installaton folder and launch Matlab without the desktop using
matlab -nodesktop
Then you can execute the commands from the Matlab command line interface. I am having the same problem as you, and folllowed this suggestion. However, Matlab will still not open.
Malek Ben Alaya
on 21 Dec 2019
0 votes
has anyone found a solution please ????
yoshiki watanabe
on 13 Jun 2022
0 votes
I found similar error (NOT exactly same as the above error) on MATLAB 2022a, and resolved. On my situation, that error is because of existence of old version of MATLAB. After I deleted the old version, my new version of MATLAB worked.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!