LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Falbert on November 27, 2008, 13:49:29

Title: 2.0.1 Test fails when installed on Win98
Post by: Falbert on November 27, 2008, 13:49:29
When running the standard test, after downloading and unzipping LWJGL, on my Win98SE system, with Java 1.5.0_16, I get:

C:\WINDOWS\Desktop\lwjgl-2.0.1>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 -Dorg.lwjgl.util.Debug=true 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: C:\WINDOWS\Desktop\lwjgl-2.0.1\native\win32\lwjgl.dll: A device attached to the system is not functioning
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        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:72)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
        at org.lwjgl.Sys.loadLibrary(Sys.java:81)
        at org.lwjgl.Sys.<clinit>(Sys.java:98)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
        at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:80)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)

I believe that this worked with 1.1.4, but I haven't been able to find the download to back-rev.

Any suggestions?
Title: Re: 2.0.1 Test fails when installed on Win98
Post by: wolf_m on November 27, 2008, 13:58:05
1.1.4 is here:

http://sourceforge.net/project/showfiles.php?group_id=58488&package_id=54362&release_id=570355

Apart from that, I have no clue. Win98 is ancient, maybe don't support it?
Title: Re: 2.0.1 Test fails when installed on Win98
Post by: elias on November 27, 2008, 14:19:24
LWJGL 2.0 dropped support for win9x (see announcement here: http://lwjgl.org/forum/index.php/topic,2726.0.html)

- elias
Title: Re: 2.0.1 Test fails when installed on Win98
Post by: princec on November 27, 2008, 14:58:13
Wisely so too, given just how incredibly rare working Win98 machines are these days.

Cas :)
Title: Re: 2.0.1 Test fails when installed on Win98
Post by: Falbert on November 29, 2008, 00:41:21
@wolf_m: Thanks for the link!  Hopefully, it'll be a big help.

@elias:  Thanks, I'd looked, but ran out of time to find whether support for Win98 was official or not.

@Cas:  You'd be surprised; I do some work on home computers, and have friends in schools in the northeast USA.  Something like half of them are still using Win98; not necessarily on all of their computers, but a significant number of them.
Title: Re: 2.0.1 Test fails when installed on Win98
Post by: Falbert on November 29, 2008, 00:48:21
Additional Info:
Downloaded and tried 1.1.4.   Oddly enough, get the same error.

C:\WINDOWS\Desktop\lwjgl-1.1.4>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 -Dorg.lwjgl.util.Debug=true 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: C:\WINDOWS\Desktop\lwjgl-1.1.4\native\win32\lwjgl.dll: A device attached to the system is not functioning
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        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:111)
        at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:80)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)

Strange, I wonder what is causing this to have problems.
Title: Re: 2.0.1 Test fails when installed on Win98
Post by: Gouki-sama on November 29, 2008, 10:58:04
Quote from: Falbert on November 27, 2008, 13:49:29
When running the standard test, after downloading and unzipping LWJGL, on my Win98SE system, with Java 1.5.0_16, I get:

C:\WINDOWS\Desktop\lwjgl-2.0.1>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 -Dorg.lwjgl.util.Debug=true 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: C:\WINDOWS\Desktop\lwjgl-2.0.1\native\win32\lwjgl.dll: A device attached to the system is not functioning
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        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:72)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
        at org.lwjgl.Sys.loadLibrary(Sys.java:81)
        at org.lwjgl.Sys.<clinit>(Sys.java:98)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
        at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:80)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)

I believe that this worked with 1.1.4, but I haven't been able to find the download to back-rev.

Any suggestions?


I was having similar problems with XP, but i was missing the second -D entry, and when i added that it worked.  My error was identicle except it was saying NoClassDef instead of UnsatisfiedLinkError.  Have you checked your openGL installation?