java.lang.IllegalStateException: No physics implementation was registered..

Hi i recently downloaded jme-physics-2.1.zip

i added the jme-physics.jar and the odejava-jni.jar files to my project then tried to compile the "lesson1" example.



i got this message:



23-Dec-2007 13:06:04 class Lesson1 start()

SEVERE: Exception in game loop

java.lang.IllegalStateException: No physics implementation was registered nor found!

at com.jmex.physics.PhysicsSpace.create(PhysicsSpace.java:347)

at com.jmex.physics.util.SimplePhysicsGame.initSystem(SimplePhysicsGame.java:90)

at com.jme.app.BaseGame.start(Unknown Source)

at Lesson1.main(Lesson1.java:99)

at __SHELL1.run(__SHELL1.java:7)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at bluej.runtime.ExecServer$3.run(ExecServer.java:792)



i found another topic like this in the forums but it said something about a src folder which didnt come with the zip file.

can anyone help?



thanks


oh i got it nm.

i had to move the odejava.dll into my class path