当前位置: 代码迷 >> Eclipse >> java调用matlab报错Failed to find the library mclmcrrt7_14.dll
  详细解决方案

java调用matlab报错Failed to find the library mclmcrrt7_14.dll

热度:595   发布时间:2016-04-23 00:55:54.0
java调用matlab出错Failed to find the library mclmcrrt7_14.dll
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt7_14.dll, required by MATLAB Builder JA, on java.library.path.
 This library is typically installed along with MATLAB or the MCR, its absence may indicate an issue with that installation or the current path configuration.
The MCR version that this component is trying to use is: 7.14.

at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.get(MCRConfiguration.java:167)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.<clinit>(MCRConfiguration.java:173)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getProxyLibraryDir(MCRConfiguration.java:178)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.get(MCRConfiguration.java:77)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.<clinit>(MCRConfiguration.java:87)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getMCRRoot(MCRConfiguration.java:92)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ModuleDir.<clinit>(MCRConfiguration.java:66)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getModuleDir(MCRConfiguration.java:71)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.<clinit>(MWMCR.java:1549)
at kevinjava.KevinjavaMCRFactory.newInstance(KevinjavaMCRFactory.java:50)
at kevinjava.KevinjavaMCRFactory.newInstance(KevinjavaMCRFactory.java:61)
at kevinjava.Class1.<init>(Class1.java:84)
at rmHandle.main(rmHandle.java:11)
有哪位遇到同样的问题,最后解决了的吗?求解啊,弄了一下午没搞定
------解决方案--------------------
你电脑上有装matlab吗?

简单的办法是找同学copy个mclmcrrt7_14.dll过来放到c:/windows/system32下面
  相关解决方案