필터 지우기
필터 지우기

UnsatisfiedLinkError when calling a method in JAR file which loads a DLL file.

조회 수: 3 (최근 30일)
Nitin
Nitin 2012년 11월 19일
I have a Jar file, which loads DLL using System.loadLibrary() method. When I execute this Jar file from Netbeans, it works fine and I can use the methods inside the DLL. But when I use this Jar file from inside my Matlab code, and I call any method of Jar file which uses loads the DLL, it throws error of UnsatisfiedLinkError. It is not able to load the DLL in Jar file, when it is called from Matlab. I have kept the DLL file in the same folder where I have Jar file. I am adding Jar file to the dynamic path using javaaddpath() Any help is highly appreciated.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by