Famous Error, no solution: "No physics implementation was registered nor found!"

Hi there, people.



I

You may still need to add ODE to your classpath by including the odejava.jar. You've already included the ODE native libraries with -Djava.library.path=…"C:Archivos de programaJME2JME2phisicsimplodelib", so your good on that front, just missing the jar.

i have just compared my files inside Ode folder. It looks like there's a file missing. I can

Now, i have fixed the problem





PLease, fix the guides for physics. I explained it in another post on General discussion.





There are some… obvious things, not so obvious for noobs. All my team have experienced similar problems and it's all related to the guides. A little confusing sometimes.

If by "guides" you mean the contents of the wiki here, then why not fix them yourself ?

They are freely editable by all users. You have experienced problems and seem to have found the solution so are in the perfect position to change them to make clear all the bits you didn't understand at the time.

ok. So it

Yes, please update the wiki to make it more clear. We really appreciate it. Glad you're up and running.

pff… imagine: we are all building a "Spore" creature simulator with joint creatures and all the stuff…



no manuals for joints except a little example in JMEPHysics… only one. That

You might find some useful information in these areas:

jME Physics Wiki

jME Physics Test Package  <-- Includes a ragdoll test

And of course this forum.

yes!! i just saw it.

It's great !!! and really helpful, indeed.





But i

You can run each test on its own, they have their own main. If you are using eclispe, just right click in the test and Run As… java app.



Or even easier is to run the TestChooser class. Both jME and jME Physics have one of these.

Hi people,



I new in this. I follow the tutorial of the wiki =jme&s[]=2&s[]=eclipse]http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme_2&s[]=jme&s[]=2&s[]=eclipse, and I did can install the JME 2 correctly and I did can run the tests perfect, but when I install the Physics that say the wiki and I execute the test it say this error!



Searching I found other wiki Link http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme-physics, that explain how install jme Physics 2, but this is for cvs… and I don’t know if this is a old version… and when I install and run build.xml it give me an error in the file module_physics_ode.xml… :?



I think that the error is for the ode…



Can somebody tell me how to do it ?



Sorry for my English, and very thanks for all!



Bye!



P.D: I use a Ubuntu 8.04

jmephysics.dev.java.net and jme.dev.java.net provide the old jme1 version.



This is the location for the recent jme2 versions:

http://code.google.com/p/jmonkeyengine/

http://code.google.com/p/jmephysics/

Hi basixs, Thanks for the quick answer!



Yes, I follow the wiki link =jme&s[]=2&s[]=eclipse]http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme_2&s[]=jme&s[]=2&s[]=eclipse, it explain how install with svn, and it is with this location. I do the tutorial get the source from this location.



I do this steps:



1.- Add a new repository location for the URL http://jmephysics.googlecode.com/svn/ . Right-click on the JMEPhysics Repository → trunk node and choose Check Out. A new project,

I wonder if you missed a step, I would suggest trying the tutorial over from scratch.

(almost everyone has to do it a couple of times, including myself ;))

Hi another time basixs!



I try another time download Physics, and  when I do this 2 steps (two steps that I said before), and I execute one test it don't run and throw this error:


28/01/2009 00:08:33 org.odejava.Odejava <clinit>
SEVERE: Native code library (32 and 64 bit library) failed to load: java.lang.UnsatisfiedLinkError: no odejava in java.library.path
java.lang.UnsatisfiedLinkError: no odejava in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1030)
   at org.odejava.Odejava.<clinit>(Odejava.java:88)
   at com.jmex.physics.impl.ode.OdePhysicsSpace$OdeFactory.getImplementationVersion(OdePhysicsSpace.java:188)
   at com.jmex.physics.PhysicsSpace.scanAvailableImplementations(PhysicsSpace.java:373)
   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 com.jmetest.physics.TestDomino$1.run(TestDomino.java:165)
28/01/2009 00:08:33 com.jmex.physics.PhysicsSpace scanAvailableImplementations
WARNING: Failed to use physics implementation 'com.jmex.physics.impl.ode.OdePhysicsSpace$OdeFactory' due to Exception/Error: java.lang.UnsupportedOperationException: Failed to load natives
java.lang.UnsupportedOperationException: Failed to load natives
   at org.odejava.Odejava.init(Odejava.java:125)
   at com.jmex.physics.impl.ode.OdePhysicsSpace$OdeFactory.getImplementationVersion(OdePhysicsSpace.java:188)
   at com.jmex.physics.PhysicsSpace.scanAvailableImplementations(PhysicsSpace.java:373)
   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 com.jmetest.physics.TestDomino$1.run(TestDomino.java:165)
Caused by: java.lang.UnsatisfiedLinkError: no odejava in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1030)
   at org.odejava.Odejava.<clinit>(Odejava.java:88)
   ... 6 more
28/01/2009 00:08:33 class com.jmetest.physics.TestDomino 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 com.jmetest.physics.TestDomino$1.run(TestDomino.java:165)



I can see that don't found the ode java... And I think that this is the error... How can I specify the path? :oops:

Thanks!

Unfortunately, I am not familiar enough with eclipse to help you there, hopefully someone that is will come along soon…

same with lwjgl, you need to tell java where it can find the native libraries for ode.



right click the project -> Properties -> Java build path -> Libraries -> exapnd odejava-jni.jar -> select native library location -> Edit … -> Workspace -> select the path <physics project>/impl/ode/lib/ ->Ok->Ok->Ok



edit:

added the info to the wiki

Hi Core-Dump!



Thanks For all!!it's Great!!



bye!!