MATLAB Runtime R2025b matlab_jenv.exe do not support Java 25

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:
  1. Is there a workaround to accept Java version 25?
  2. If not when will "matlab_jenv.exe" be updated to accept Java version 25?

1 个评论

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)

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call Java from MATLAB 的更多信息

产品

版本

R2025b

标签

提问:

2026-4-13,19:34

评论:

2026-4-13,20:34

Community Treasure Hunt

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

Start Hunting!

Translated by