Compiled application does not run because of startup plugin mwJavaClasspathCache.dll

While trying to test an application I compiled with MCR, I got the following error.
Error initializing MATLAB Runtime: Unable to load bundle binary C:\MATLAB\R2020a\bin\win64\matlab_startup_plugins\jmi\mwJavaClasspathCache.dll. Error: 193: Unknown error.
I read somewhere on this site about a similar error which was caused by a space in the directory name, so I moved MATLAB from c:\Program Files\ to C:\ but it didn't help. Any idea what is going on?

댓글 수: 2

did you resolved it?
I have the same problem, it happen win10 system, seems win11 works
I updated to R2021a and the issue was gone. My machine is on Win 10.

댓글을 달려면 로그인하십시오.

답변 (1개)

Amal Raj
Amal Raj 2024년 2월 20일
Hey. Try copying the executable to <mcr>\bin\win64 and launching from there. If it works, there is a conflict between some shared library in c:\windows\system32 and the MATLAB runtime.

댓글 수: 1

Oh it really works when I did so! But is there any way to solve the conflict?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2021년 3월 30일

댓글:

2024년 7월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by