Hello all. I just started to work with jme-physics and have a question. I can get the snapshot version of beta 2 working but I would like to work with the current version on the cvs. However, I cannot seem to get it to work with eclipse. I either get an UnsatisfiedLinkError for odejava when trying to run the test-interactive folder within the jme-physics folder or this error message:
java.lang.IllegalStateException: Geom with native address 0x3e74580045b4570 not found!
if I create a project that references the cvs projects.
My real question is could someone give step by step instructions for setting up jme-physics in eclipse for both working within eclipse and creating jar files for later use.
Setup for beta2 and cvs version should be the same. The error message you posted does not seem to be caused by a misconfiguartion. What platform do you run it on? (OS?, 32/64bit?)
That sounds like the java.library.path is not set in the Build path of your Eclipse project. You'll need that to point to the dir of your ode C libs. I normally place all libs in one directory and point the java.library.path to that.
Ah. Was doing two things wrong. One, forgot to set the java.library.path like you said Fuzzy, and two I wasn't using the latest libs that are in the cvs project but grabbed those from the snapsnot. Why I was getting the geom error it seems.
You can do at least two things. 1) Change your reference from jME/bin to jMe/build or 2) Build the full jME project and reference the jME jar files in your project classpath. Have fun!