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 commentaires

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!

Connectez-vous pour commenter.

Réponses (0)

Catégories

Produits

Version

R2024b

Commenté :

le 29 Mai 2025

Community Treasure Hunt

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

Start Hunting!

Translated by