Bug or my fail :s [At the end new problem]

I have a new problem:

code]
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

It seems it cant find the native library for odejava-jni.jar.

Make sure to add the path to odejava.dll to the -Djava.library.path variable.

Core-Dump said:

It seems it cant find the native library for odejava-jni.jar.
Make sure to add the path to odejava.dll to the -Djava.library.path variable.

In the mpath exist this files:
Files of /home/debci/jME2/jME2Physics/impl/ode/lib

libodejava64.so
libodejava.jnilib
libodejava.so
odejava.dll
odejava-jni.jar

And src folder as this are empty.

PD:Im linux usser  }:-@

How do you start the test ?

Inside eclipse or from the command line?



If from the command line, what arguments did you use?

Did you adder odejava-jni.jar to your project (in eclipse, in project properties)??

pablo said:

Did you adder odejava-jni.jar to your project (in eclipse, in project properties)??

I added the jar to the project now have an other error :/

Sep 13, 2009 10:07:49 PM class Base.TestSpehere start()
SEVERE: Exception in game loop
java.lang.RuntimeException: Uncompilable source code - cannot find symbol
  symbol:   class Geom
  location: class org.odejava.Space
        at org.odejava.Space.<init>(Space.java:70)
        at org.odejava.Space.<init>(Space.java:90)
        at org.odejava.HashSpace.<init>(HashSpace.java:44)
        at com.jmex.physics.impl.ode.OdeCollisionGroup.<init>(OdeCollisionGroup.java:41)
        at com.jmex.physics.impl.ode.OdePhysicsSpace.createCollisionGroup(OdePhysicsSpace.java:1234)
        at com.jmex.physics.impl.ode.OdePhysicsSpace.<init>(OdePhysicsSpace.java:305)
        at com.jmex.physics.impl.ode.OdePhysicsSpace$OdeFactory.create(OdePhysicsSpace.java:177)
        at com.jmex.physics.PhysicsSpace.create(PhysicsSpace.java:346)
        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)