title: executable jar file does not load dll with double click but it runs
body: <p>I built an executable jar file (test.jar) that depends on some jar libraries and dll. </p>
  
  <p>at the start it shows a JFileChooser dialog and the user must selects a file. after that it calls a method and reads the selected file using jar/dll libraries. At the end of precess it shows output dialog.(using JOptionPane) 
  and finally creates a dialog that means finished!</p>
  
  <p>it runs in netbeans successfully and there isn't any problem for using JNI. also i could create a batch file(test.bat) and run the jar file. it's OK.</p>
  
  <p>But when i double click on executable jar file, shows the fileChooser and after selecting a file nothing happens.
  by this way it shows final dialog!
  i put my files likes this:</p>
  
  <p>NewFolder</p>
  
  <pre><code> test.jar
   test.bat
   lib0.dll
   lib1.dll
   lib
  
     lib2.jar
     lib3.jar
  </code></pre>
  
  <p>what is the problem? help me please. is my problem related to load dll files and its path ?
  My problem seems to be match with this:
  <a href="https://stackoverflow.com/questions/17811376/dll-files-not-loaded-if-executing-jar-file">https://stackoverflow.com/questions/17811376/dll-files-not-loaded-if-executing-jar-file</a></p>