-Djava.library.path=".\lib\" -> Still gives same error.
Im using 1.1.2.
I cant drag & drop the dll into the libary section, only in the src section but that does not solve it

Can i pack a dll into a jar and add it to my classpath?
Or can i modify my library path inside the java code?
Something like:
1 2 3
| static{ System.addLibrary=".\lib\joal_native.dll"; } |
Edit:
1 2 3 4 5 6 7 8
| static { try { System.setProperty("java.library.path",System.getProperty("user.dir")+"\\lib"); System.out.println(System.getProperty("java.library.path")); } catch (UnsatisfiedLinkError e) { e.printStackTrace(); } } |
The dll is in the folder that he prints me, but he still says: not found

--------------------
Solved, i use an other lib now:
http://jerome.jouvie.free.fr/Fmod/NativeFmodEx/index.phpThx u 2