Hi there, I’m trying to make the test class of LWJGL working.
I launch it in this way:
java -cp lwjgl.jar;lwjgl_util.jar;lwjgl_test.jar; -Djava.library.path=c:\lwjgl org.lwjgl.test.WindowCreationTest
and result is:
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.library.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.(Sys.java:64)
at org.lwjgl.opengl.Display.(Display.java:96)
at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:
82)
at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:286)
but, as you can see I’ve specified -Djava.library.path=c:\lwjgl (where all LWJGL jars are placed).
Where could it be the wrong thing?
thanks
of my classpath, that is a mess, at the moment…