Matlab crashes on startup (java.lang​.NullPoint​erExceptio​n) on Fedora Linux

조회 수: 43 (최근 30일)
Andrea Bonanno
Andrea Bonanno 2022년 7월 26일
편집: Chenye Zhou 2025년 2월 28일
As soon as I launch matlab with ./matlab the window opens and I get this message. What can I do?
When I close the error window matlab stays open but I can't click on anything and it crashes a few seconds later.

답변 (2개)

Doug
Doug 2022년 9월 2일
This issue cropped up on me today; I was able to resolve it by blowing away (well ... moving, to be safe) my ~/.matlab/R2022a folder and letting MATLAB create a new one on startup. I'm not sure which file(s) caused the problem, but I just copied my history over to the newly created directory and that was good enough for me ...
  댓글 수: 4
Jared Brzenski
Jared Brzenski 2025년 2월 12일
This worked for R2023a when these error messages appeared after updating Ubuntu.
Chenye Zhou
Chenye Zhou 2025년 2월 28일
편집: Chenye Zhou 2025년 2월 28일
Sadly, this doesn't work. It seems this is related to a jre upgrade on Ubuntu through apt. This method got matlab opened normally. However, as long as I open or create a new .m file, the same error occurs.

댓글을 달려면 로그인하십시오.


Tom Hearn
Tom Hearn 2022년 7월 28일
I have the exact same question after updateing to fedora 36 today. So I reinstalled matlab. This was a chore as I had to remove the libfreetype libraries to get it to work and then make sure root had access to the proper libraries. I got it reinstalled but it didn't solve the problem! What is going on?
  댓글 수: 2
Image Analyst
Image Analyst 2022년 7월 28일
What did tech support say when you called them? You DID call them, right?
Tom Hearn
Tom Hearn 2022년 7월 28일
Well, I was hoping someone would respond here but I'll have to contact them.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by