hi,
I can’t understand why this doesn’t work:
String jinput = System.getProperty("java.library.path")+File.pathSeparator+ new File(System.getProperty("user.dir").toString()+ File.separator+"lib" + File.separator + "dist");
System.out.println("Loading native library from: " + jinput);
System.setProperty("java.library.path", jinput);
it has worked for lwjgl (but instead of “java.library.path” was “org.lwjgl.librarypath”)
i’ve take a look in the forum, and many link directly the DLL file. I don’t like this approach, as it isn’t platform independent, so java loose it’s greatest quality.
using the -Djava.library.path with the PATH created above everything works.
please tell me how solve this.
thank you