2.0.1 Test fails when installed on Win98

Started by Falbert, November 27, 2008, 13:49:29

Previous topic - Next topic

Falbert

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?

wolf_m


elias


princec

Wisely so too, given just how incredibly rare working Win98 machines are these days.

Cas :)

Falbert

@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.

Falbert

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.

Gouki-sama

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?