how to set up JVM running under MCL

1 view (last 30 days)
Aaron Birenboim
Aaron Birenboim on 22 Feb 2018
I have a colleague providing a compiled library (MCL) from r2014a. I got the matching r2014a MATLAB Compiler Runtime package, and built a C++ front-end under MSVS2017.
If I do NOT provide the "-nojvm" flag to mclInitializeApplication(), I get an exception thrown at myEntryPointInitialize(). However, when I do provide this flag, the mlxMyEntryPoint() fails when it tries to execute some java code.
My colleague starts up mclInitializeApplication(NULL,0), and can call mlxMyEntryPoint, since they do have a jvm running.
Question: What do I need to do to get a valid JVM instance for my colleague's runtime library?

Answers (0)

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!