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 ?
Edit :
and this is my classpath :
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7">
<attributes>
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="JavaWinForms"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="jdatepicker-1.3.4.jar"/>
<classpathentry kind="lib" path="postgresql-9.4-1201.jdbc41.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
and my native libraries are in /project/lib folder.