LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Krux on April 01, 2011, 23:22:59

Title: -Djava.library.path and lwjgl-native-2.7.1.jar
Post by: Krux on April 01, 2011, 23:22:59
Hello
i want to use the new maven LWJGL repository, but with that repository I get all lwjgl native libraries within a single jar file (no folder anymore), and i cannot give the correct path to the .so files anymore. Adding only the jar file does not work. So, what is the correct parameter for -Djava.library.path?

MFG
Arne

Title: Re: -Djava.library.path and lwjgl-native-2.7.1.jar
Post by: splinecl on June 10, 2011, 16:55:34
Did you follow this guide?
http://lwjgl.org/wiki/index.php?title=LWJGL_use_in_Maven

If so you should get all the native libraries unpacked to target/libs/natives/,which you can then use in your java.library.path