I am trying to install LWJGL under linux kernel 2.6.11, distro Fedora Core 3, and java sdk 1.5. I have extracted the zip version of LWJGL in the directory /home/username/javaprog/
After that I went into the lwjgl directory and jar, so my final working directory is:
/home/username/javaprog/lwjgl/jar
From here I run the test command and my shell outputs this:
[username@localhost jar]$ java -cp lwjgl.jar:lwjgl_util.jar:lwjgl_test.jar:lwjgl_devil.jar:lwjgl_fmod3.jar -Djava.library.path=/home/tmcdemus/javaprog/lwjgl/jar/lwjgl.jar org.lwjgl.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.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.lwjgl.Sys.<clinit>(Sys.java:61)
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)
Any idea what the problem is?