Error when trying to run LWJGL under linux

Started by DrX, September 01, 2004, 14:49:10

Previous topic - Next topic

DrX

Hi

I tried to install LWJGL on my school account (Linux) but i get this error when trying the test command:

:[~/devel/java/lwjgl-linux-0.9]> java -cp lwjgl.jar:lwjgl_test.jar: -Djava.library.path=~/devel/java//lwjgl-linux-0.9/ org.lwjgl.test.WindowCreationTest
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
       at java.lang.Runtime.loadLibrary0(Runtime.java:788)
       at java.lang.System.loadLibrary(System.java:834)
       at org.lwjgl.Sys.initialize(Unknown Source)
       at org.lwjgl.Sys.<clinit>(Unknown Source)
       at org.lwjgl.Display.<clinit>(Unknown Source)
       at org.lwjgl.test.WindowCreationTest.main(Unknown Source)
:[~/devel/java/lwjgl-linux-0.9]>

Do i need root access to install it ?

princec

I'd use -Djava.library.path=. if I were you; less prone to error.

Cas :)

DrX

I did use -Djava.library.path=

:[~/devel/java/lwjgl-linux-0.9]> java -cp lwjgl.jar:lwjgl_test.jar: -Djava.library.path=~/devel/java//lwjgl-linux-0.9/ org.lwjgl.test.WindowCreationTest

princec

I dunno if it's the forum software but both the lines you've pasted in here so far have typos in.

Cas :)

Matzon

solved on the irc channel - needed execution bits on .so