No lwjgl in java.library.path

What does this mean? I can’t get anything to work in Eclipse because I keep getting that error.



Here is the console output in Eclipse:

May 17, 2005 12:26:11 AM com.jme.app.BaseGame start
INFO: Application started.
May 17, 2005 12:26:11 AM com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
May 17, 2005 12:26:11 AM com.jme.system.PropertiesIO load
WARNING: Could not load properties: java.io.FileNotFoundException: properties.cfg (The system cannot find the file specified)
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.<clinit>(Sys.java:64)
   at org.lwjgl.opengl.Display.<clinit>(Display.java:96)
   at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(LWJGLPropertiesDialog.java:135)
   at com.jme.app.AbstractGame.getAttributes(AbstractGame.java:180)
   at com.jme.app.BaseGame.start(BaseGame.java:57)
   at jmetest.terrain.TestTerrainLighting.main(TestTerrainLighting.java:73)
May 17, 2005 12:26:11 AM com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
May 17, 2005 12:26:11 AM com.jme.input.InputSystem getKeyInput
WARNING: KeyInput is null, insure that a call to createInputSystem was made before getting the devices.
May 17, 2005 12:26:11 AM com.jme.input.InputSystem getMouseInput
WARNING: MouseInput is null, insure that a call to createInputSystem was made before getting the devices.
May 17, 2005 12:26:11 AM com.jme.app.BaseGame start
INFO: Application ending.

You have to start your application with the argument:



-Djava.library.path=./lib



or whatever your library-path is.

Oh, and "-Djava.library.path=./lib" should go in the VM arguments section of your Eclipse Run… profile thing. :slight_smile: