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 Comments

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!

Sign in to comment.

Answers (0)

Categories

Products

Release

R2024b

Asked:

on 21 Jan 2025

Commented:

on 29 May 2025

Community Treasure Hunt

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

Start Hunting!