how to set up JVM running under MCL

조회 수: 2 (최근 30일)
Aaron Birenboim
Aaron Birenboim 2018년 2월 22일
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개)

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by