Failed to initialize java

Hi. I can't open MATLAB after the update of my laptop.
The following keeps showing: "Fatal error on startup, failed to initialize java."
I just updated my java and clicked again but it didn't work. The above showed again.
Whenever I clicked on my MATLAB, in the file from User > AppData > Roaming > MathWorks > MATLAB, a new file "R2019b" will be generated.
I tried to rename it and delete it following advice from other pages, but none of them worked.
Please help me... I have homework to be done by this Wednesday. Thank you.

2 件のコメント

Shubh Sahu
Shubh Sahu 2020 年 1 月 6 日
編集済み: Shubh Sahu 2020 年 1 月 7 日
Hi!
Please go to windows command prompt and type MATLAB -nojvm -timing after that hit enter and I assume that a window will pop-up. Please share that timming information.
MARIA CAMACHO CABRERA
MARIA CAMACHO CABRERA 2020 年 4 月 18 日
Please hepl me. I have the same issue but my MATLAB version is 2020a. I have tried what you have rocommended to him but it didn´t work. What should I do?

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

回答 (1 件)

Ayush Goyal
Ayush Goyal 2022 年 6 月 28 日

0 投票

Hi Leann,
I understand that you are trying to open MATLAB and getting "Fatal error on startup, failed to initialize java."
Please refer to the following link for help regarding the same : failed to initialize Java - (mathworks.com)

カテゴリ

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

製品

リリース

R2019b

質問済み:

2019 年 12 月 30 日

回答済み:

2022 年 6 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by