LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: horizon_w on November 28, 2006, 02:51:15

Title: Help!Installation problems.
Post by: horizon_w on November 28, 2006, 02:51:15
hi everyone, I'm the  freshman with LWJGL, yesterday I downloaded the LWJGL 1.0 beta 4 from the source forge, and installed it on my computer as it written on the lwjgl.org, but it not work!  My OS is Windows XP, after I unpacked the LWJGL , I tested the LWJGL by opening a command prompt as flowing:
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

but the out put is
  Exception in thread"main" java.lang.UnsatisfiedLingError: no lwjgl in java. library .path

but I'm  sure I do the command promote under the LWJGL directory.
how can I slove the problem? what happened with that? Hope I will get help from U.
Title: Help!Installation problems.
Post by: Matzon on November 28, 2006, 06:27:28
if you type 'dir', do you get these directories: doc, jar,res,native ?
you need to be in the root folder, so that the statement:
-Djava.library.path=native\win32 points a valid folder from current working dir
Title: Help!Installation problems.
Post by: horizon_w on November 28, 2006, 07:24:15
thanks for ur reply, I  do in the root folder of LWJGL, so when I type dir ,I can get the  docãâ,¬Âjarãâ,¬Âresãâ,¬Ânative  directionies.  but wht I excute the command promote,it not work, how can I slove them? Can you tell me how to slove that? thanks a lot
Title: Help!Installation problems.
Post by: Matzon on November 28, 2006, 08:06:09
are you using windows xp 64bit ?
we only supply 32bit dll's
Title: Help!Installation problems.
Post by: horizon_w on November 29, 2006, 01:36:26
thanks for the reply, but is there any way I can slove that?
Title: Help!Installation problems.
Post by: Matzon on November 29, 2006, 05:56:00
you can solve it yourself by compiling it using using the platform_build/windows_ant that you will have to modify for 64bit.
You're on your own with that though
Title: Help!Installation problems.
Post by: horizon_w on November 29, 2006, 06:57:12
thanks for ur  help and  words inspection :wink:
Title: the same problem
Post by: Nishart1 on November 29, 2006, 20:38:45
Hello :
I have the same problem:


C:\ProyectosJava\Librerias\lwjgl-1.0beta4>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
The following keys are available:
ESCAPE:         Exit test
ARROW Keys:     Move window when in non-fullscreen mode
L:              List selectable display modes
0-8:            Selection of display modes
F:              Toggle fullscreen
SHIFT-F:        Toggle fullscreen with Display.destroy()/create() cycle
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.libr
ary.path
       at java.lang.ClassLoader.loadLibrary(Unknown Source)
       at java.lang.Runtime.loadLibrary0(Unknown Source)
       at java.lang.System.loadLibrary(Unknown Source)
       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)

C:\ProyectosJava\Librerias\lwjgl-1.0beta4>dir
El volumen de la unidad C no tiene etiqueta.
El número de serie del volumen es: B84F-D993

Directorio de C:\ProyectosJava\Librerias\lwjgl-1.0beta4

29/11/2006  21:14    <DIR>          .
29/11/2006  21:14    <DIR>          ..
29/11/2006  21:14    <DIR>          doc
29/11/2006  21:14    <DIR>          jar
29/11/2006  21:14    <DIR>          native
29/11/2006  21:14    <DIR>          res
              0 archivos              0 bytes
              6 dirs  33.043.611.648 bytes libres

but i have a windows 32 bit
Title: Re: the same problem
Post by: Matzon on November 29, 2006, 21:40:21
Quote from: "Nishart1"Hello :
I have the same problem:
...
jar;-Djava.library.path=native\win32
You are missing a space between .jar;-Djava.library.path, it should be:
jar; -Djava.library.path

dont know if that is the issue too with the above poster?
Title: Thanks
Post by: Nishart1 on November 30, 2006, 09:33:07
Thanks for your help Matzon. this run now thanks
:D