title: Trying to load a 32-bit library on a 64-bit Windows with 32-bit Java: java.lang.unsatisfiedlinkerror
body: <p>I am getting java.lang.unsatisfiedlinkerror</p>
  
  <pre><code>java.lang.UnsatisfiedLinkError: C:\Program Files(x86)\Java\jdk1.7.0_25\jre\bin\liblept168.dll: 
  </code></pre>
  
  <p>The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail</p>
  
  <p>error on Windows 64-bit platform, with 32-bit Java installed. The .dll that I am trying to load requires 32-bit Java. </p>
  
  <p>I checked liblept168.dll, it is in </p>
  
  <pre><code>C:\Program Files(x86)\Java\jdk1.7.0_25\jre\bin\
  </code></pre>
  
  <p>Also </p>
  
  <pre><code>C:\Program Files(x86)\Java\jdk1.7.0_25\jre\bin\ 
  </code></pre>
  
  <p>is in the PATH in Environment Variables. </p>
  
  <p>Does anyone have any reccommendation about this issue? Actually I tried this in my locale (which is also a 64-bit Windows with 32-bit Java) and it worked. </p>
  
  <p>Thanks in advance. </p>