Can't get LWJGL installed properly

Hi there!

…my first post…

I wan’t to get LWJGL working on my Windows XP PRO mashine, as i can’t get my graphics card working in 3D Mode on Linux.

I copied the LWJGL files into the directories as described on the official site. When I tried to run the test command from the directory I extracted the files originaly to I got an error message saying, that I’ed have Java 1.4 installed, but 1.5 was needed. But I deffenitally know, that I downloaded version 1.5 (And the directory it installed itself to is called 1.5, too). So I changed the current Version value in the Windows registry from 1.4 to 1.5. Now I get the following:


I:\lwjgl-win32-0.93>java -cp lwjgl.jar;lwjgl_test.jar; org.lwjgl.test.WindowCreationTest
Found 80 display modes
Moving to 100, 100
Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/util/Display
        at org.lwjgl.test.WindowCreationTest.setDisplayMode(Unknown Source)
        at org.lwjgl.test.WindowCreationTest.main(Unknown Source)

With every program I try to program myself I get the Exeption in thread “main” error. I have reinstalled Java two or three times already.

I have absolutely no idea what is going wrong!

you need to add lwjgl_util.jar to the classpath:

java -cp lwjgl.jar;lwjgl_test.jar;lwjgl_util.jar; org.lwjgl.test.WindowCreationTest

Nark, use Eclipse it will point out missing jars for you and allow you to add them easily.

:slight_smile:

To Matzon:
Great! I don’t exactly understand the line, but It works! Thanks!

To Middy:
I’ve downloaded Eclipse and I’ll give it a try.

Thanks to both of you!