I need technical help with Matlab " Java Runtime Not Found "

Hello everyone, I mistakenly erased something later on matlab tarted not to open. When I clicked on matlab it showed homecoming screen then closed it self. I tried many things installed different javas. right now many JavaRun time error shows up. I solved it couple of times but autocrash is happen. I erased matlab, java and reinstalled them but nope not working.
matlab -nojvm is working.
matlab -cleanupprefs, -nodesktop not working
export MATLAB_JAVA=/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home
my java --version : Amazon Corretto OpenJDK 11.0.23
matlab version 2024b
Now I erased the matlab again.

2 Kommentare

Hi @Ongun Palaoglu, I am glad the issue was resolved. If you encounter a similar problem in the future, feel free to refer to the following MATLAB Answer. Thanks!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2024b

Gefragt:

am 21 Jan. 2025

Kommentiert:

am 29 Mai 2025

Community Treasure Hunt

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

Start Hunting!

Translated by