missmatch between mcr version and packaged jar (Failed to find the library libmwmclmcrrt.so.7.13)
Ältere Kommentare anzeigen
Hey,
Im trying to run my matlab application on Redhat, im compiling the application using matlab 7.13 and iv installed the bundeled mcr (which is version 7.16 -> mcrinstall prints the version),
While im trying to run the application Im getting:
Exception: java.lang.UnsatisfiedLinkError, Message: Failed to find the library libmwmclmcrrt.so.7.13, required by MATLAB Builder JA, on java.library.path. This library is typically installed along with MATLAB or the MCR, its absence may indicate an issue with that installation or the current path configuration. The MCR version that this component is trying to use is: 7.13.
Iv installed matlab using the Java applet, how do I solve this issue?
Ronen
Antworten (3)
Kaustubha Govind
am 2 Nov. 2011
0 Stimmen
You need to add configure LD_LIBRARY_PATH and XAPPLRESDIR as the documentation suggests. See Path for Java Applications on All Platforms.
Ronen Narkis
am 2 Nov. 2011
0 Stimmen
Ronen Narkis
am 2 Nov. 2011
0 Stimmen
1 Kommentar
Kaustubha Govind
am 2 Nov. 2011
You need to get the version of the MCR corresponding to the compiled Java application (in your case, version 13). The versions are tightly coupled.
Kategorien
Mehr zu COM Component Integration finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!