This section describes the prerequisites needed prior to using RMI.
The following products must be installed at their recommended release levels.
MATLAB®, MATLAB Compiler™, MATLAB Compiler SDK™
Java® Development Kit (JDK™)
Ensure you have a JDK installed on your system. You can download it from Oracle, Inc.
You should be using the same version of Java that ships with MATLAB. To find out what version of Java MATLAB is running, enter the following MATLAB command:
version -java
Caution:MathWorks® only supports the Oracle® JDK and JRE™. A certain measure of cross-version compatibility resides in the Oracle software and it may be possible to run applications with compiled MATLAB functions with non-Oracle JDKs under some circumstances—however, compatibility is not guaranteed.
In order to run this example, your Web server must be capable of running accepted Java frameworks like J2EE. Running the WebFigures example (Implement a WebFigure) also requires the ability to run servlets in WARs (Web Archives).
Ensure that the javabuilder.jar
library (
)
has been installed into your Web server’s common library folder.matlabroot
/toolbox/javabuilder/jar/javabuilder.jar