Unsupported Versions of the JVM
The MCR internally utilizes a JVM unless you disable it manually.
If you are using a deployed application from within a Java application
(with its own JVM), the MCR will attach to and use that application's
JVM.
To do this successfully, you must ensure a supported
MATLAB JVM version is available to your application. For example,
servers such as IBM® WebSphere™ are incompatible for compiled
applications because they use an IBM JVM, rather than a Sun™ JVM,
for example. You can workaround this issue by using remoting to pull
the MCR into its own process, where it uses the proper JVM.
Using Remoting to Workaround an Unsupported JVM

 | Working with Multiple Versions of the MATLAB Compiler Runtime
(MCR) | | Internal Analyst Tasks |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit