Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.)

Respuestas (1)

prabhat kumar sharma
prabhat kumar sharma el 19 de Feb. de 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.

Categorías

Más información sobre Call Java from MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by