Install/Test Problem on Windows

Started by Lault, September 05, 2005, 00:58:28

Previous topic - Next topic

Lault

Unzipped onto C, then followed installation instructions but I get this error.

C:\lwjgl-win32-0.98>java -cp lwjgl.jar;lwjgl_util.jar;lwjgl_test.jar; org.lwjgl.test.WindowCreationTest
Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/test/WindowCreationTest

Any ideas?

Matzon

you forgot the dir!
the readme says:
java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar;jar\jinput.jar; -Djava.library.path=native org.lwjgl.test.WindowCreationTest

Lault

Thanks! That worked, but that isn't what is in the installation instructions. They may need updating or clarification.

Matzon

aha! - the site needs to get updated - will fix that when I get home from work :)

Anonymous

Hey, I am new to the board and tried to test it, but the command line wouldn't allow me to paste that much of a line in.  Any ideas on to how to test it otherwise?

JediSange

Sorry, I am the guest poster above me but didn't log in, haha.  Stupid me.  But yeh, the command promt won't allow me to enter a line that long.  Any ideas?

Matzon

err - type it instead of pasting then ???

Anonymous

I went to the desktop, where i unzipped the files and ran command prompt with this:
java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar;jar\jinput.jar; -Djava.library.path=native WindowCreationTest
and it said: Exception in thread "main" java.lang.NoClassDefFoundError: WindowCreationTest
How do I fix it?

Anonymous

I went to the desktop, where i unzipped the files and ran command prompt with this:
java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar;jar\jinput.jar; -Djava.library.path=native WindowCreationTest
and it said: Exception in thread "main" java.lang.NoClassDefFoundError: WindowCreationTest
How do I fix it?

lightbringer

By reading the post. You forgot the "org.lwjgl.test." part.