Problems getting started (UnsatisfiedLinkError)

Started by ordoc, March 12, 2005, 19:55:48

Previous topic - Next topic

ordoc

Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
       at java.lang.Runtime.loadLibrary0(Runtime.java:822)
       at java.lang.System.loadLibrary(System.java:992)
       at org.lwjgl.Sys.<clinit>(Sys.java:69)
       at org.lwjgl.opengl.Display.<clinit>(Display.java:92)
       at Lesson01.findDisplayMode(Lesson01.java:134)
       at Lesson01.createWindow(Lesson01.java:126)
       at Lesson01.init(Lesson01.java:155)
       at Lesson01.run(Lesson01.java:63)
       at Lesson01.main(Lesson01.java:53)

trying to execute with command:

"D:\j2sdk\1.5\bin\java.exe" -classpath "D:\Programming\MySourceCode\test\;D:\Programming\lwjgl-win32-0.95;D:\Programming\lwjgl-win32-0.95\lwjgl_test.jar;D:\Programming\lwjgl-win32-0.95\lwjgl_devil.jar;D:\Programming\lwjgl-win32-0.95\lwjgl.jar;D:\j2sdk\1.5\jre\lib\rt.jar;D:\j2sdk\1.5\lib\dt.jar;D:\j2sdk\1.5\lib\tools.jar;D:\j2sdk\1.5\jre\lib\ext\dnsns.jar;D:\j2sdk\1.5\jre\lib\ext\sunjce_provider.jar;D:\j2sdk\1.5\jre\lib\ext\sunpkcs11.jar;D:\j2sdk\1.5\jre\lib\ext\localedata.jar" Lesson01 ; -Djava.library.path=D:\programming\lwjgl-win32-0.95\

this is the NeHe Lesson01 im trying to run, I've browsed forums for a while, faq and wiki and tried everything but no luck.

ordoc

If I move the dll into my working directory it works just fine...

Matzon


ordoc

I was specifying the library path, but I got it working now, stupid mistake on my part