필터 지우기
필터 지우기

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
prabhat kumar sharma 2024년 2월 19일
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