title: Using FatJar for native libraries
body: <p>I'm using FatJar for creating one jar with postgresql.jar, jdatepicker.jar and native libraries. I have combined project to one jar. There is no postgresql and jdatepicker jar error. And I can load my native library programmatically. But I can not load dependent libraries. When I put the libraries C:\Windows\System32, there is no loading dependent library error. But I want to load dependent libraries from jar. I unzipped my fatjar and I could see dependent libraries. But I can not load from jar. How can I do this ?</p>
  
  <p>Edit : </p>
  
  <p>This is my error output : <a href="https://i.stack.imgur.com/eX0a6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eX0a6.png" alt="enter image description here"></a></p>
  
  <p>and this is my classpath : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;classpath&gt;
      &lt;classpathentry kind="src" path="src"/&gt;
      &lt;classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"&gt;
          &lt;attributes&gt;
              &lt;attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="JavaWinForms"/&gt;
          &lt;/attributes&gt;
      &lt;/classpathentry&gt;
      &lt;classpathentry kind="lib" path="jdatepicker-1.3.4.jar"/&gt;
      &lt;classpathentry kind="lib" path="postgresql-9.4-1201.jdbc41.jar"/&gt;
      &lt;classpathentry kind="output" path="bin"/&gt;
  &lt;/classpath&gt;
  </code></pre>
  
  <p>and my native libraries are in /project/lib folder.</p>