bin\win64\nativejava_engine_core.dll: Can't find dependent libraries
13 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (3 件)
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
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
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
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.
0 件のコメント
Bertram Schillinger
2024 年 4 月 16 日
One more hint regarding the environment. We use Eclipse 2022 as development environment.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Java Package Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!