I get an error message while using a JAR that is compiled by Library Compiler
Afficher commentaires plus anciens
I have a MATLAB project, which I compile using the MATLAB compiler to a JAR file and call from a Java project. I have been using the compiled file on Windows without any issues for a few years. Recently, I switched to Mac. Today, I decided to compile my Java project on Mac OS Sequoia. I compiled the MATLAB code on my Mac Studio with M2 Max processor and added to my Java project as a library as usual. However, I get the following error when I try to plot a graph using it:
java.lang.UnsatisfiedLinkError: Can't load library: /System/Library/Frameworks/gluegen-rt.Framework/gluegen-rt
I couldn't resolve the problem despite spending several hours on it. Could you help me with this problem?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur C Shared Library Integration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!