Matlab 2022b does not start on Mac Monterrey

Hello,
I have read the previous posts but have not been able to solve the problem. The message I get is the following:
Warning: Unable to find Java library: /Applications/MATLAB_R2022b.app/sys/java/jre/maci64/jre/lib/server/libjvm.dylib
Please check if you have a MATLAB_JAVA environment variable.
Note that MATLAB requires Java version 1.8 or higher.
Warning: Disabling Java support
< M A T L A B (R) >
Copyright 1984-2022 The MathWorks, Inc.
R2022b (9.13.0.2049777) 64-bit (maci64)
August 24, 2022
Disabling Java support
Undefined function 'usejava' for input arguments of type 'char'.
Warning: MATLAB did not appear to successfully set the search path. To recover
for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how
to avoid this warning the next time you start MATLAB, type "docsearch problem
path" after recovering for this session.
>> Unrecognized function or variable
'connector.internal.lifecycle.callConnectorStarted'.

3 commentaires

Jan
Jan le 14 Oct 2022
What do you answer on: "Please check if you have a MATLAB_JAVA environment variable" ?
What has happend before? Is this a new installation? Did you install updates?
I removed the package statistics and machine learning and it worked. I guess there is some incompatilbility there.
the cyclist
the cyclist le 14 Oct 2022
Modifié(e) : the cyclist le 14 Oct 2022
I am running MATLAB 2022b with the Statistics and Machine Learning Toolbox, on MacOS Monterey. It's not incompatible.

Connectez-vous pour commenter.

Réponses (1)

Jennifer Good
Jennifer Good le 11 Jan 2023

0 votes

I had this problem and did everything I could to try to figure it out. MATLAB 2022b would not open on Monterey OS. I ended up installin 2023a prerelease and it worked right away :) I think there is a problem within the 2022b files for the Mac.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by