java.lang.NoClassDefFoundError: org/lwjgl/opengl/AWTGLCanvas

Trying to get my jme based program to run on a linux machine… I get the following error:




16-Apr-2005 17:29:26 com.jme.app.BaseGame start
INFO: Application started.
16-Apr-2005 17:29:26 com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
16-Apr-2005 17:29:26 com.jme.system.PropertiesIO load
INFO: Read properties
16-Apr-2005 17:29:26 com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
   at java.lang.Runtime.loadLibrary0(Runtime.java:788)
   at java.lang.System.loadLibrary(System.java:834)
   at org.lwjgl.Sys.<clinit>(Sys.java:64)
   at org.lwjgl.opengl.Display.<clinit>(Display.java:96)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.getValidDisplayMode(Unknown Source)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(Unknown Source)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(Unknown Source)
   at com.jme.app.SimpleGame.initSystem(Unknown Source)
   at com.jme.app.BaseGame.start(Unknown Source)
   at simulator.DanceSim.main(DanceSim.java:370)
16-Apr-2005 17:29:26 com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
16-Apr-2005 17:29:26 com.jme.input.InputSystem getKeyInput
WARNING: KeyInput is null, insure that a call to createInputSystem was made before getting the devices.
16-Apr-2005 17:29:26 com.jme.input.InputSystem getMouseInput
WARNING: MouseInput is null, insure that a call to createInputSystem was made before getting the devices.
16-Apr-2005 17:29:26 com.jme.app.BaseGame start
INFO: Application ending.
Exception in thread "main" java.lang.NoClassDefFoundError
   at com.jme.system.lwjgl.LWJGLDisplaySystem.close(Unknown Source)
   at com.jme.app.BaseGame.quit(Unknown Source)
   at com.jme.app.BaseGame.start(Unknown Source)
   at simulator.DanceSim.main(DanceSim.java:370)



i also tried with newer versions of lwjgl directly off there website (0.95) and i get this error:



16-Apr-2005 17:34:37 com.jme.app.BaseGame start
INFO: Application started.
16-Apr-2005 17:34:37 com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
16-Apr-2005 17:34:37 com.jme.system.PropertiesIO load
INFO: Read properties
java.lang.NoClassDefFoundError: org/lwjgl/opengl/AWTGLCanvas
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
   at com.jme.system.DisplaySystem.getDisplaySystem(Unknown Source)
   at com.jme.app.SimpleGame.initSystem(Unknown Source)
   at com.jme.app.BaseGame.start(Unknown Source)
   at simulator.DanceSim.main(DanceSim.java:370)
16-Apr-2005 17:34:37 com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
16-Apr-2005 17:34:37 com.jme.input.InputSystem getKeyInput
WARNING: KeyInput is null, insure that a call to createInputSystem was made before getting the devices.
16-Apr-2005 17:34:37 com.jme.input.InputSystem getMouseInput
WARNING: MouseInput is null, insure that a call to createInputSystem was made before getting the devices.
16-Apr-2005 17:34:37 com.jme.app.BaseGame start
INFO: Application ending.



any help most appreciated..

Regards
Roja

You need LWJGL 0.96