Problem at execute the test class

I have a problem, I doed the tutorial to get start and the console of netbeans out this:

run:
Sep 13, 2009 12:39:54 PM com.jme.app.BaseGame start
INFO: Application started.
Sep 13, 2009 12:39:54 PM com.jme.system.PropertiesGameSettings <init>
INFO: PropertiesGameSettings created
Sep 13, 2009 12:39:54 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: [Lorg/lwjgl/opengl/DisplayMode;
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getDeclaredMethod(Class.java:1935)
        at java.awt.Component.isCoalesceEventsOverriden(Component.java:5948)
        at java.awt.Component.access$500(Component.java:169)
        at java.awt.Component$3.run(Component.java:5902)
        at java.awt.Component$3.run(Component.java:5900)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Component.checkCoalescing(Component.java:5899)
        at java.awt.Component.<init>(Component.java:5868)
        at java.awt.Container.<init>(Container.java:251)
        at java.awt.Window.<init>(Window.java:341)
        at java.awt.Window.<init>(Window.java:490)
        at java.awt.Dialog.<init>(Dialog.java:649)
        at java.awt.Dialog.<init>(Dialog.java:393)
        at javax.swing.JDialog.<init>(JDialog.java:259)
        at javax.swing.JDialog.<init>(JDialog.java:193)
        at javax.swing.JDialog.<init>(JDialog.java:141)
        at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(LWJGLPropertiesDialog.java:184)
        at com.jme.app.AbstractGame$1.run(AbstractGame.java:236)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: org.lwjgl.opengl.DisplayMode
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 28 more


Why??

Im linux BackTrack 4 usser

Do you have lwjgl.jar in Your project/classpath??

pablo said:

Do you have lwjgl.jar in Your project/classpath??

Solved but now at execute the lesson8 java out an new problem :s


Sep 13, 2009 4:26:45 PM com.jmex.physics.PhysicsSpace scanAvailableImplementations
WARNING: Failed to use physics implementation 'com.jmex.physics.impl.ode.OdePhysicsSpace$OdeFactory' due to Exception/Error: java.lang.NoClassDefFoundError: org/odejava/Odejava
java.lang.NoClassDefFoundError: org/odejava/Odejava
        at com.jmex.physics.impl.ode.OdePhysicsSpace$OdeFactory.getImplementationVersion(OdePhysicsSpace.java:188)
        at com.jmex.physics.PhysicsSpace.scanAvailableImplementations(PhysicsSpace.java:371)
        at com.jmex.physics.PhysicsSpace.create(PhysicsSpace.java:340)
        at com.jmex.physics.util.SimplePhysicsGame.initSystem(SimplePhysicsGame.java:91)
        at com.jme.app.BaseGame.start(BaseGame.java:70)
        at Base.TestSpehere.main(TestSpehere.java:235)
Caused by: java.lang.ClassNotFoundException: org.odejava.Odejava
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 6 more
Sep 13, 2009 4:26:45 PM class Base.TestSpehere start()
SEVERE: Exception in game loop
java.lang.IllegalStateException: No physics implementation was registered nor found!
        at com.jmex.physics.PhysicsSpace.create(PhysicsSpace.java:348)
        at com.jmex.physics.util.SimplePhysicsGame.initSystem(SimplePhysicsGame.java:91)
        at com.jme.app.BaseGame.start(BaseGame.java:70)
        at Base.TestSpehere.main(TestSpehere.java:235)
BUILD SUCCESSFUL (total time: 1 second)



Im despeared :s

Add also odejava-jni.jar  :slight_smile: