Looking for background/outlook on "Java packages [...] will not be available in MATLAB in a future release" from R2021b release notes.
2 views (last 30 days)
Show older comments
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.)
0 Comments
Answers (1)
prabhat kumar sharma
on 19 Feb 2024
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.
0 Comments
See Also
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!