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 commentaires

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.

Connectez-vous pour commenter.

Réponses (1)

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 commentaire

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Produits

Version

R2020a

Commenté :

le 5 Juil 2024

Community Treasure Hunt

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

Start Hunting!

Translated by