MATLAB Runtime R2025b matlab_jenv.exe do not support Java 25
Mostrar comentarios más antiguos
What running the following command in PowerShell or Windows command console:
C:\Program Files\MATLAB\MATLAB Runtime\R2025b\bin\win64\matlab_jenv.exe" -allusers "C:\Program Files\Java\jdk-25.0.2"
I get the following response:
Java version at "C:\Program Files\Java\jdk-25.0.2" not supported
Questions:
- Is there a workaround to accept Java version 25?
- If not when will "matlab_jenv.exe" be updated to accept Java version 25?
1 comentario
Walter Roberson
el 13 de Abr. de 2026 a las 20:34
It is not likely that R2025b will ever be updated to support Java version 25.
It is possible that R2026a (currently still in prerelease) will support Java version 25 (not sure whether it will or not)
Respuestas (1)
Ritam
el 16 de Abr. de 2026 a las 5:56
0 votos
Unfortunately, there is currently no supported workaround to use Java version 25 with MATLAB. According to the Versions of OpenJDK Compatible with MATLAB by Release - MATLAB & Simulink documentation, the maximum supported JDK version for the relevant MATLAB releases is Java 21.
2 comentarios
Martin Rhymes
el 16 de Abr. de 2026 a las 15:06
Ritam
el 16 de Abr. de 2026 a las 19:19
You can reach out to Mathworks Technical Support through https://in.mathworks.com/company/aboutus/contact_us.html.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!