System requirements and restrictions on use of the MATLAB® Compiler SDK™ Java® target are as follows:
The MATLAB Compiler™ product must be installed.
Java Development Kit must be installed.
Java Runtime Environment that is used by MATLAB and MATLAB Runtime
Note
You should be using the same major version of Java that ships with MATLAB. To find out what version of Java MATLAB is running, enter the following MATLAB command:
version -java
In order to use some screen-readers or assistive technologies, such as JAWS®, you must add the following DLLs to your Windows® path:
matlabroot\sys\java\jre\arch\jre\bin\JavaAccessBridge.dll matlabroot\sys\java\jre\arch\jre\bin\WindowsAccessBridge.dll
JAR files created by MATLAB Compiler SDK cannot be loaded back into MATLAB with the MATLAB Java External Interface.
The MATLAB Compiler SDK product's Java target does not support MATLAB object data types. MATLAB objects cannot "pass" the MATLAB/Java boundary. However, you are free to use objects in your MATLAB code.