MATLAB Answers

ptrk
0

Matlab 2015a Java error after fresh installation?

Asked by ptrk
on 27 Mar 2015
Latest activity Answered by Ralph Gunderson on 17 Nov 2019 at 21:48
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?

  0 Comments

Sign in to comment.

3 Answers

Answer by Anusha B on 30 Mar 2015
 Accepted Answer

Hi,
1. You can try executing the following commands:
restoredefaultpath
rehash toolboxcache
2. A corrupt installation may also be a cause of the issue.

  0 Comments

Sign in to comment.


Answer by ALI
on 18 Jul 2018

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

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,

Sign in to comment.


Answer by Ralph Gunderson on 17 Nov 2019 at 21:48

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.

  0 Comments

Sign in to comment.