Jme-physic 2 problem

I follow the guide and had successfully build jME and jME Physics  on Netbeans 6.0 Beta 2. I

can run TestChoser on jME just fine, but when i try TestChoser for jME Physics i got this error:

19 พ.ย. 2550 17:32:36 jmetest.TestChooser start
INFO: Composing Test list...
19 พ.ย. 2550 17:32:37 jmetest.TestChooser find
INFO: Searching for Demo classes in "physics".
19 พ.ย. 2550 17:32:40 com.jme.system.PropertiesIO load
WARNING: Could not load properties. Creating a new one.
19 พ.ย. 2550 17:32:40 class com.jmetest.physics.ragdoll.TestSimpleRagDoll start()
SEVERE: Exception in game loop
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
        at java.lang.ClassLoader.loadLibrary(
        at java.lang.Runtime.loadLibrary0(
        at java.lang.System.loadLibrary(
        at org.lwjgl.Sys$
        at Method)
        at org.lwjgl.Sys.doLoadLibrary(
        at org.lwjgl.Sys.loadLibrary(
        at org.lwjgl.Sys.<clinit>(
        at org.lwjgl.opengl.Display.<clinit>(
        at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(Unknown Source)
        at Source)
        at Source)
        at com.jmetest.physics.ragdoll.TestSimpleRagDoll$
BUILD SUCCESSFUL (total time: 4 seconds)

I'm I missing something..?

This means you have not setup the java.library.path correctly. See wiki or forum (search for java.library.path) for details.

I think i made all thing true with the tutorial i think i set VM Option not true for my lib

my JME_CVS path

C:Documents and SettingsAdministratorMy DocumentsNetBeansProjectsJME_CVSjme


C:Documents and SettingsAdministratorMy DocumentsNetBeansProjectsMY_PATH_TO_JME-PHYSICS-2_CVSjmephysics


C:Documents and SettingsAdministratorMy DocumentsNetBeansProjectsMY_PATH_TO_JME-PHYSICS-2_PROJECTjME-Physics_2

and i set VM Option is -Djava.library.path=JME_CVSjmelib;MY_PATH_TO_JME-PHYSICS-2_CVSjmephysicsimplodelib

I'm I missing something…?

Well, you really need to write the whole thing in that field, not just JME_CVS or MY_PATH_TO_JME-PHYSICS-2_CVS… that is, your VM option must be:

-Djava.library.path="C:Documents and SettingsAdministratorMy DocumentsNetBeansProjectsJME_CVSjmelib";"C:Documents and SettingsAdministratorMy DocumentsNetBeansProjectsMY_PATH_TO_JME-PHYSICS-2_CVSjmephysicsimplodelib"

Hello again everyone. My tries to merge jME with jMEPhysics still continue
Export of jME works find, but jMEPhysics give me the creep.
I get following error message

I hope you can help and its enough information....

20.11.2007 11:25:43 class com.jmetest.physics.TestBasicRepresentation start()
SCHWERWIEGEND: Exception in game loop
java.lang.IllegalStateException: No physics implementation was registered nor found!
at com.jmex.physics.PhysicsSpace.create(
at com.jmex.physics.util.SimplePhysicsGame.initSystem(
at com.jmetest.physics.TestBasicRepresentation.main(

My suggestion are the libaries, but I have all imported.
Maybe a problem with the package paths since I imported them into my jME project?

Looking forward for reply

You need one “implementation” (from the impl folder, ODE or JOODE currently) in the classpath.

To understand correctly:

I should copy the impl folder inside of scr and afterwards implement the jars again inside the project.
Do I understand it right?

No, of course not. Simply add the impl/ode/src folder as source path and/or include the jar build from that in the classpath.

Don’t get it work

Here is a screenshot.

Hope that help :’(

Did you add jme in the projects tab to jme-physics? If not, you should do that first.

Also, check with a lot of care the guide: and make sure you are not skipping any step.

jME works fine, I will try the tutorial for NetBeans.  Maybe it helps, but not sure, because I work with eclipse.

Did you add jme in the projects tab to jme-physics?

I would say yes, but I 'm not so sure what you want. jME and jMEP2 works fine as standalone, but I try to merge them in one Projekt called StarLynx. jME works, jMEP2 not, but I will try.

Thanks for your advice!


It works, and I learned more about Eclipse. I didn't know how exactly what Eclipse makes tick, but thanks to you guys I finally managed it and understand. Now my questions seem for me like real greenhorn questions. But afterwards everyone knows it better.