I built an executable jar file (test.jar) that depends on some jar libraries and dll.
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!
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.
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:
NewFolder
test.jar
test.bat
lib0.dll
lib1.dll
lib
lib2.jar
lib3.jar
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: https://stackoverflow.com/questions/17811376/dll-files-not-loaded-if-executing-jar-file