Support Forward Compatibility of Java
MATLAB® and its toolboxes include some functionality implemented in Java® packages. The Java class path in MATLAB contains JAR files, including third-party JAR files, that define Java package code. However, to support forward compatibility, avoid using any
unsupported and undocumented Java code, including in subpackages of the com.mathworks
package.
If you want to use an open-source third-party JAR file that is also used by MathWorks® code, do not rely on MATLAB to provide the JAR file because MathWorks code might stop using any JAR file and remove it in a future release. Instead, make sure that the third-party JAR files you need are installed in your environment, and add them to the Java class path using the instructions in Static Path of Java Class Path. When you manage your JAR files independently, you support forward compatibility of your code as MathWorks product implementation evolves across releases.