在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
问题描述:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the required library mclmcrrt9_2.dll on java.library.path. This library is typically installed along with MATLAB or the MATLAB Runtime. Its absence may indicate an issue with that installation or the current path configuration, or a mismatch with the architecture of the Java interpreter on the path. MATLAB Runtime version this component is attempting to use: 9.2. Java interpreter architecture: win64. 问题分析: 未安装matlab runtime运行环境,或运行环境版本不匹配 问题解决: 1. 安装MCR环境(E:\MATLAB\R2017a\toolbox\compiler\deploy\win64\MCRInstaller.exe) 配置 path C:\Program Files\MATLAB\MATLAB Runtime\v92\runtime\win64 配置 MATLAB_JAVA D:\install\java\jdk1.8.0_181\jre
2. 配置java环境 JAVA_HOME D:\install\java\jdk1.8.0_181
CLASSPATH %JAVA_HOME%\lib;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
PATH ;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin
参考链接: 1.Matlab Compiler SDK 使用步骤及常见问题总结(全) 2.MATLAB MCR安装以解决GUI编程软件移植运行问题 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论