bin\win64\​nativejava​_engine_co​re.dll: Can't find dependent libraries

조회 수: 11 (최근 30일)
bran
bran 2024년 2월 5일
댓글: Bertram Schillinger 2024년 4월 22일
Start MATLAB from Java synchronously.
import com.mathworks.engine.*;
public class StartMatlab {
public static void main(String[] args) throws Exception {
MatlabEngine eng = MatlabEngine.startMatlab();
...
eng.close();
}
}
java.lang.UnsatisfiedLinkError<matlabroot>\bin\win64\nativejava_engine_core.dll: Can't find dependent libraries。
Fixed missing files using dependencywalker, but still reported an error. System environment variables have been added. How can I resolve this issue

답변 (3개)

Dinesh
Dinesh 2024년 2월 6일
Hello.
To resolve the "java.lang.UnsatisfiedLinkError" related to "nativejava_engine_core.dll", ensure the directory "<matlabroot>\bin\win64" is added to your system's PATH environment variable and restart your system to apply the changes. Hopefully, this should resolve the issue.
  댓글 수: 2
Bertram Schillinger
Bertram Schillinger 2024년 4월 22일
I did this but the problem is not solved.
It is possible to get a call to check what i wrong configured ?
Bertram Schillinger
Bertram Schillinger 2024년 4월 22일
i put the follow paths:
C:\Program Files\MATLAB\R2023b\bin\win64
C:\Program Files\MATLAB\R2023b\extern\bin\win64
inside the System variables "Path".

댓글을 달려면 로그인하십시오.


Bertram Schillinger
Bertram Schillinger 2024년 4월 16일
Hello,
i put the follow paths:
C:\Program Files\MATLAB\R2023b\bin\win64
C:\Program Files\MATLAB\R2023b\extern\bin\win64
inside the System variables "Path".
But the problem is not solved i get the same error message as bevore.

Bertram Schillinger
Bertram Schillinger 2024년 4월 16일
One more hint regarding the environment. We use Eclipse 2022 as development environment.

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by