title: Create runnable jar file in Eclipse
body: <ul>
  <li>I use sqljdbc driver for my project</li>
  <li>I have a "libs" folder to store all libraries</li>
  <li>To be able to connect to MSSQLServer I set "Native Library Location" for my sqljdbc4.jar. You see this native library location is in "libs" folder too</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/rTeEJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rTeEJ.png" alt="enter image description here"></a></p>
  
  <ul>
  <li><p>Everything's OK,but when I create runnable jar file, I have connection problem</p>
  
  <pre><code> org.hibernate.exception.JDBCConnectionException: Could not open connection
  </code></pre></li>
  <li><p>It is caused by "no sqljdbc_auth in java.library.path"</p></li>
  </ul>
  
  <p>What should I do to create a right runnable jar file? Thanks in advance!</p>