LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: wakeboardin on April 21, 2005, 03:15:24

Title: linker error
Post by: wakeboardin on April 21, 2005, 03:15:24
tring to get lwjgl up and going and i followed the instructions on the site to add the libary but it doesn't seem to work because the demo still isn't working help plz thx
Title: hmmmmmmm....
Post by: Fool Running on April 21, 2005, 13:40:38
You need to give us more information. :wink: What's the error messages (if any), What are your machine specs, etc.
Title: linker error
Post by: wakeboardin on April 21, 2005, 21:15:52
C:\lwjgl-win32-0.96\jar>java -cp lwjgl.jar;lwjgl_util.jar;lwjgl_test.jar; org.lw
jgl.test.WindowCreationTest
The following keys are available:
ESCAPE:         Exit test
ARROW Keys:     Move window when in non-fullscreen mode
L:              List selectable display modes
0-8:            Selection of display modes
F:              Toggle fullscreen
SHIFT-F:        Toggle fullscreen with Display.destroy()/create() cycle
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.libr
ary.path
       at java.lang.ClassLoader.loadLibrary(Unknown Source)
       at java.lang.Runtime.loadLibrary0(Unknown Source)
       at java.lang.System.loadLibrary(Unknown Source)
       at org.lwjgl.Sys.<clinit>(Sys.java:64)
       at org.lwjgl.opengl.Display.<clinit>(Display.java:96)
       at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:
82)
       at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:286)

spec:p4, windows xp current sp,j2 sdk 1.4.2_08
Title: linker error
Post by: Matzon on April 21, 2005, 23:08:24
you didn't read the README file ;)
You need a -Djava.library.path=path\to\dll - or in your case:
-Djava.library.path=..\native