how to set up JVM running under MCL
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (0)
See Also
Categories
Find more on C Shared Library Integration 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!