Compiled application does not run because of startup plugin mwJavaClasspathCache.dll
1 view (last 30 days)
Show older comments
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 Comments
忆宁 黄
on 15 May 2022
did you resolved it?
I have the same problem, it happen win10 system, seems win11 works
Answers (1)
Amal Raj
on 20 Feb 2024
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 Comment
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!