Looking for background/outlook on "Java packages [...] will not be available in MATLAB in a future release" from R2021b release notes.

1 次查看(过去 30 天)
I see this in the R2021b release notes:
  • Java® packages and subpackages that currently ship with MATLAB will not be available in MATLAB in a future release
I was just wondering if that means Java will be gone, or just inaccessible? Asking primarily from a security standpoint, as Java 8 is a becoming a recurring thorn in our sides when it comes to OIS requirements. (Yes, yes, MATLAB_JAVA works for some cases, but not all — at least I have had poor luck with it on OSX.)

回答(1 个)

prabhat kumar sharma
Hi Eric,
It appears that starting from MATLAB release R2021b, support for certain Java packages has been discontinued. If you need to continue using a Java package in MATLAB, you'll have to manually install the JAR file and then add it to MATLAB's static Java class path.
For detailed instructions on how to modify the static class path in MATLAB, you can refer to the MATLAB release notes or MATLAB's documentation. The release notes for the R2021a version, which mention changes related to Java support, are available at the following URL: https://www.mathworks.com/help/matlab/release-notes.html?rntext=java&startrelease=R2021a&endrelease=R2021a&groupby=release&sortby=descending&searchHighlight=java
I hope it helps to resolve your issue.

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by