RMI Prerequisites

This section describes the prerequisites needed prior to using RMI.

Ensure You Have the Required Products

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.

    Note

    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.

Ensure Your Web Server Is Java Compliant

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).

Install the javabuilder.jar Library

Ensure that the javabuilder.jar library (matlabroot/toolbox/javabuilder/jar/javabuilder.jar) has been installed into your Web server’s common library folder.

Was this topic helpful?