Problem to Install in WINDOWS... XP PROF.

Started by dcbasso, September 30, 2007, 09:24:19

Previous topic - Next topic


People, i trying to install the LWJGL-1.1.2 on my system, but on line command mode i'm having a problem..
I write it:

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/win32 org.lwjgl.test.WindowCreationTest

and "my answer" is that:

"Exception on thread "main" java.lang.NoClassDefFoundError: org/lwjgl/test/WindowCreationTest"

What I should do to resolve this problem? Im trying to use on ECLIPSE!
Thankssss a lot!


Looks like a classpath issue: Try and replace \ with / in your -cp (classpath) switch and make sure the path is correct.

kind regards,
Nicolai de Haan Brøgger


Man... i have install oK!
But now Im trying to configure my IDE, ECLIPSE!

Any help is welcome...

I install the LWJGL on:

"C:\Arquivos de programas\Java\jre1.6.0_02\lib\lwjgl-1.1.2"
its correct?
And now some erros to fire up my Eclipse... i accept any help!!!



To set up LWJGL globally (for all projects) you can do this:

Go to Window > Preferences. Select Java > Installed JREs. Edit your JRE and in Default VM Arguments type in the location of the native libraries. For example: -Djava.library.path="C:\Arquivos de programas\Java\jre1.6.0_02\lib\lwjgl-1.1.2/native/win32". Then press "Add External JRE" and select the JAR files (lwjgl.jar, lwjgl_util.jar and whatever else you use).

You can also do the same per project but I found it more convenient to just do it for all projects.

kind regards,
Nicolai de Haan Brøgger