MATLAB: Do I receive a message to install “Legacy Java SE 6 runtime” when starting MATLAB

MATLAB

Why does a message saying "To open "MATLAB" you need to install the legacy Java SE 6 runtime." when starting MATLAB R2013a or earlier?

Best Answer

This error will occur when launching MATLAB R2013a or earlier if legacy Java SE 6 is not installed on your Mac. You may see this message when launching MATLAB if you installed MATLAB and then later updated to a newer version of OS X.
To fix this issue, update to MATLAB R2013b or later, or download and install legacy Java SE 6 to continue using MATLAB R2013a or earlier. Legacy Java SE 6 can be downloaded here: