MATLAB 실행 오류


개발환경 : windows 7, 64bit

MATLAB 64bit 7.16 버전 설치됨

이클립스에서 JDK1.7 또는 jre1.7에서는 정상적으로 동작하나,

JDK1.6 또는 jre1.6에서는 아래와 같은 오류가 발생한다.


알고봤더니..  JDK1.7 또는 jre1.7 은 64bit 설치되었고,  JDK1.6 또는 jre1.6 은 32bit가 설치되었기 때문이었다.

그래서 JDK1.6 또는 jre1.6 을 64bit로 설치하고 실행하니 정상동작한다.


Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt7_16.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.16.


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:1462)

at algorithm.AlgorithmMCRFactory.newInstance(AlgorithmMCRFactory.java:58)

at algorithm.AlgorithmMCRFactory.newInstance(AlgorithmMCRFactory.java:69)

at algorithm.algorithm.<init>(algorithm.java:72)

at test_JAR_IN.main(test_JAR_IN.java:33)


참고 : http://www.mathworks.com/matlabcentral/answers/28452-deploying-java-package-error-failed-to-find-the-library-mclmcrrt7_16-dll

+ Recent posts