User`s guide

Directories Required for Run-Time D eployment
Directories Required for Run-Time Deployment
In this section...
“Path for Java App l ications on All Platforms” on page 9 -5
“Windows Path for Run-Time Deployment” on page 9-5
“UNIX Paths for Run-Time D eployment” on page 9-6
Path for Java Applicatio ns on All Platforms
When your users run applications that contain compiled M-code, you m ust
instruct them to set the path so that the system can find the MCR.
Note W h en you deploy a Java application to end users, they must set the
class path on the target machine.
The system needs to find
.jar files containing the MATLAB libraries. To tell
the system how to locate the
.jar files it needs, specify a classp ath either in
the
javac command or in your system environm ent variables.
Windows Path for Run-Time Deployment
The following directory should be added to the system path:
mcr_root\version\run time\win32
where mcr_root refers to the complete path where the MCR library archive
files are installed o n the machine where the application is to be run.
Note that
mcr_root is version specific; you must determine the path after
you install the MCR.
9-5