2013年11月18日星期一

java call matlab error 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. (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. (MCRConfiguration.java: 87)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getMCRRoot (MCRConfiguration.java: 92)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration $ ModuleDir. (MCRConfiguration.java: 66)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getModuleDir (MCRConfiguration.java: 71)
at com.mathworks.toolbox.javabuilder.internal.MWMCR. (MWMCR.java: 1549)
at kevinjava.KevinjavaMCRFactory.newInstance (KevinjavaMCRFactory.java: 50)
at kevinjava.KevinjavaMCRFactory.newInstance (KevinjavaMCRFactory.java: 61)
at kevinjava.Class1. (Class1.java: 84)
at rmHandle.main (rmHandle.java: 11)
Which encountered the same problem , and finally solved it? Solving ah , get the afternoon did not get
------ Solution ------------------------------- -------------
matlab installed on your computer have you ?

The simplest way is to find the students copy a mclmcrrt7_14.dll come into c :/ windows/system32 following
------ For reference only ------------- --------------------------
Thank you, has been resolved, that this method
------ For reference only ---------------------------------------
Hello , I have encountered this problem, but to me the students computer do not have this file , you can give me a copy ? Thank you , 812325493@qq.com

没有评论:

发表评论