Building jmephysics

Terribly noob question but is there a detailed "explain it to me like I'm a six year old" tut or resource that explaines how to compile this? I'm trying to compile from the command line (using ANT of course) the "new" jmephysics source but getting a lot of "cannot find symbol" errors. I'm assuming that I'm missing a library file(s).

We definately need such a tut. But there is none yet - there even is no build file

As jME Physics 2 is near the stage for the very first beta I'm going to set up a build file and short instructions in the next couple of days.

Needed libraries are:

  • jME for the API (in src folder)
  • jME + ODE (from impl/ode/lib) + jMEPhysics for impl (in impl/ode/src folder)
  • jMEPhysics + jME + impl + ODE for interactive tests (in test-interactive folder)
  • same + jUnit for the automated tests (in test folder)

Thx Irrisor. I'll leave what's left of my hair attached to my head and wait for your build file.  :slight_smile:

build file is in cvs now - as well as an eclipse project configuration


I also have a problem: When I start a test file of the jme-pysics package I get this error:

java.lang.NoSuchMethodError: com.jme.math.Quaternion.set(Lcom/jme/math/Quaternion;)V

at com.jmex.physics.PhysicsSynchronizer.update(

at com.jme.scene.Spatial.updateWorldData(Unknown Source)

at com.jme.scene.Spatial.updateGeometricState(Unknown Source)

at com.jme.scene.Node.updateWorldData(Unknown Source)

at com.jme.scene.Spatial.updateGeometricState(Unknown Source)

at Source)

at Source)

at SimpleTest.main(

Is there any library missing or in wrong place?

daryl, your jME version is older than required by jME Physics 2. Take the snapshot found in the same directory like the jME Physics beta1 download, a recent nightly build or simply the CVS version.

Am I too stupid to find it??? (no answer reqired  )

Could you tell me where I have to download which files and where the corresponding examples as source are? I use Windows.

I think it's the best that you download a CVS client and download the CVS version of jME.

I can recommand TortoiseCVS client for Windows:

You can look here for CVS settings:

For jME physics 2 you need the repostory on

I hope this helps. Ask more questions if you need more info.

Yes, CVS would be best (only more complicated if you are not familiar with CVS). The snapshot I mentioned is on; night build is here.

Thanks, I got it.