LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Linor on April 25, 2007, 05:56:25

Title: Linux problem
Post by: Linor on April 25, 2007, 05:56:25
I'm trying to run lwjgl under linux, but when I try the WindowCreationTest as indicated in the docs, I receive the following error, which puzzles me a bit. Any thoughts?

Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/lwjgl-1.0/native/linux/liblwjgl.so: Can't load IA 32-bit .so on a IA 32-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:993)
        at org.lwjgl.Sys$1.run(Sys.java:75)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
        at org.lwjgl.Sys.loadLibrary(Sys.java:84)
        at org.lwjgl.Sys.<clinit>(Sys.java:101)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:108)
        at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:80)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)
Title: Re: Linux problem
Post by: Matzon on April 25, 2007, 06:46:41
err - OS and hardware?
Pretty strange error message!
Title: Re: Linux problem
Post by: Linor on April 25, 2007, 07:12:10
Running:
model name      : AMD Athlon(tm) XP 2400+
kernel:  2.6.8-3
os: Debian Stable (Etch)

java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
Title: Re: Linux problem
Post by: Linor on April 25, 2007, 08:05:40
Nvm, DISPLAY variable not set, so it picked the headless mode mawt, descriptive error though :/