Conversion of Fuzzy to Java using Matlab builde JA: Failed to find the library mclmcrrt7_17.dll, required by MATLAB Builder JA

2 views (last 30 days)
I have converted one fuzzy system into java package using Matlab builder JA in 32 bit windows 7 operating system and it is working fine. When I do the same coversion in 64 bit windows 7 operating system I am getting the following error. The builid process is successfull but when I run the built application in java netbeans, I get the following error.I have also checked the "PATH" variable and JAVA_PATH and both are correct. Note Matlab java version and system java version are same
PATH C:\Program Files\MATLAB\MATLAB Compiler Runtime\v717\runtime\win64
JAVA_PATH C:\Program Files\Java\jdk1.6.0_17
Error
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt7_17.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.17.
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.get(MCRConfiguration.java:167)
:
:
Please note that the mclmcrrt7_17.dll file is located in C:\Program Files\MATLAB\MATLAB Compiler Runtime\v717\runtime\win64
  2 Comments
Walter Roberson
Walter Roberson on 15 Nov 2012
Is it possible that when you run java netbeans, that is a 32 bit application and so unable to link 64 bit libraries?
Jian Dong
Jian Dong on 15 Nov 2012
I dont think so. This is not a problem with netbeans itself.Actually I am using JDK 1.6.0-17 64 bit with netbeans IDE and Matlab has also same java version with 64 bit. It should not be a problem.

Sign in to comment.

Answers (0)

Categories

Find more on Java Package Integration in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!