Matlab 2015a Java error after fresh installation?

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?

 採用された回答

Anusha B
Anusha B 2015 年 3 月 30 日

0 投票

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

1 件のコメント

Filippo Desantis
Filippo Desantis 2019 年 12 月 22 日
Hi, I have the same problem but your solution unfortunately didn't resolve, instead a new warning appeared, "Warning: Function sim has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict." could you help me ?

サインインしてコメントする。

その他の回答 (4 件)

ALI
ALI 2018 年 7 月 18 日

0 投票

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 件のコメント

Cedric Girerd
Cedric Girerd 2019 年 3 月 15 日
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
Gioele Luca Monopoli 2019 年 9 月 17 日
did you find a solution

サインインしてコメントする。

Ralph Gunderson
Ralph Gunderson 2019 年 11 月 17 日

0 投票

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
Malek Ben Alaya 2019 年 12 月 21 日

0 投票

has anyone found a solution please ????
yoshiki watanabe
yoshiki watanabe 2022 年 6 月 13 日

0 投票

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.

カテゴリ

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

質問済み:

2015 年 3 月 27 日

回答済み:

2022 年 6 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by