MATLAB and Simulink Requirements

Versions of OpenJDK Compatible with MATLAB by Release 

Eclipse Adoptium® and Amazon Corretto are supported for use as the Java® used by MATLAB. See matlab_jenv for instructions on how to change the MATLAB Java path. The table below details which versions of OpenJDK are supported for a given release of MATLAB.

MATLAB Release OpenJDK Versions

R2024b

8, 11, 17

R2024a

8, 11, 17

R2023b

8, 11

R2023a

8, 11

R2022b

8

R2022a

8

R2021b

8

R2021a

8

R2020b

8

R2020a

8