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)
'자바 일반' 카테고리의 다른 글
자바에서 cmd 명령어 실행하기 (또는 외부 어플) (1) | 2014.09.12 |
---|---|
java 폴더 생성 (0) | 2014.09.11 |
enum 응용, Properties (속성) 사용 예제 (0) | 2014.08.28 |
json gson (0) | 2014.08.25 |
InputStream 을 String 으로 변환하기 (0) | 2014.08.25 |