probably a quite n00b question…
I get an error: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path in eclipse
I did do the Project > properties > Run/Debug Settings > [select project] > Edit > Arguments > add to VM arguments: -Djava.library.path=D:/Projects/Blades/Tryout/jme/lib
That folder contains my copy's of all jme and lwjgl jar's
I also have added all those jars to my project, they are under Referenced Libraries.
This is the complete error I get:
Dec 4, 2008 8:25:00 PM com.jme.app.BaseGame start
INFO: Application started.
Dec 4, 2008 8:25:00 PM com.jme.system.PropertiesGameSettings <init>
INFO: PropertiesGameSettings created
Dec 4, 2008 8:25:00 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
Dec 4, 2008 8:25:01 PM class com.blades.tryout.jme.FlagRush start()
SEVERE: Exception in game loop
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.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: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:128)
at com.jme.system.lwjgl.LWJGLPropertiesDialog$ModesRetriever.run(LWJGLPropertiesDialog.java:682)
at com.jme.app.AbstractGame.getAttributes(AbstractGame.java:252)
at com.jme.app.BaseGame.start(BaseGame.java:67)
at com.blades.tryout.jme.FlagRush.main(FlagRush.java:25)
Dec 4, 2008 8:25:01 PM com.jme.app.BaseGame start
INFO: Application ending.
I asume this is a verry small n00b problem and someone knows the solution for this but I couldnt fix it and I tried over 40 minutes allready …
Thanks for your time,
Squarc
http://www.jmonkeyengine.com/jmeforum/index.php?topic=9041.0
That should help you out. Or search the forum for “no lwjgl in java.library.path” for more.