LWJGL
June 19, 2013, 20:33:12 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Problem to Install in WINDOWS... XP PROF.  (Read 4095 times)
dcbasso
Newbie
*
Posts: 3


« on: September 30, 2007, 02:24:19 »

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!
Logged
ndhb
Regular nerd
**
Posts: 70


« Reply #1 on: September 30, 2007, 03:46:18 »

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
Logged
dcbasso
Newbie
*
Posts: 3


« Reply #2 on: September 30, 2007, 04:02:05 »

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!!!
hehe

THANKSSS ALL, THANKS ndhb
Logged
ndhb
Regular nerd
**
Posts: 70


« Reply #3 on: October 01, 2007, 06:14:19 »

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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!