Skip to main content
gamedev.net
🔒 Locked

[java] LWJGL problems

Started by Jonbca May 20, 2003 at 10:00 PM 2 replies 4.1k views
Original Post
Jonbca
Jonbca
I''m trying to work with the LWJGL but I''m having trouble even getting their skeleton code to work. I think it isn''t seeing the dlls that it uses or something. Any ways this is the error that comes up: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at org.lwjgl.Sys.initialize(Unknown Source) at org.lwjgl.Sys.(Unknown Source) at org.lwjgl.Display.(Unknown Source) at Game.(Game.java:25) Exception in thread "main" if anyone has a clue, it would be greatly appreciated. ps I''m using eclipse
Aldacron
Aldacron
In Eclipse, you can make sure the proper jars are in the classpath by going into the project properties dialog box. One of the sections there has a list of jars associated with the project. Clicke the ''add external'' button and browse to the lwgl.jar.
Jonbca
Jonbca
I selected the .jar file and that worked for seeing all the package specific stuff, but I messed up and didn''t select the director so eclipse didn''t import the dlls. Thanks for the replys.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.