title: Failed to find mclmcrrt*.dll with Matlab Runtime
body: <p>I've created a Matlab's function that I want to call from a Java App. Since I don't have matlab installed in this machine I use Matlab Runtine (version 8.5, 32 bits).</p>
  
  <p>When I execute the code, I get this error:</p>
  
  <p>Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the required library mclmcrrt8_5.dll 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: 8.5.</p>
  
  <pre><code>at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.get(MCRConfiguration.java:259)
  at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.&lt;clinit&gt;(MCRConfiguration.java:265)
  at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getProxyLibraryDir(MCRConfiguration.java:270)
  at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.get(MCRConfiguration.java:71)
  at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.&lt;clinit&gt;(MCRConfiguration.java:81)
  at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getMCRRoot(MCRConfiguration.java:86)
  at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ModuleDir.&lt;clinit&gt;(MCRConfiguration.java:60)
  at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getModuleDir(MCRConfiguration.java:65)
  at com.mathworks.toolbox.javabuilder.internal.MWMCR.&lt;clinit&gt;(MWMCR.java:1503)
  at BCI.BCIMCRFactory.newInstance(BCIMCRFactory.java:60)
  at BCI.BCIMCRFactory.newInstance(BCIMCRFactory.java:71)
  at BCI.Class1.&lt;init&gt;(Class1.java:104)
  at bci.pruebaEEG.main(pruebaEEG.java:24)
  </code></pre>
  
  <p>I've included to my PATH environment's variable the dll's path: </p>
  
  <p>C:\Program Files (x86)\Matlab\Matklab Runtime\v85\runtime\win32</p>
  
  <p>Matlab's version used to create the previous function was R2015a (32bits) and to compile the Java Package, jdk 1.7 (they're supposed to be compatible).</p>
  
  <p>Can anyone help me??</p>
  
  <p>Thanks in advance!</p>