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:
init:
deps-jar:
compile-single:
run-single:
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(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.lwjgl.Sys$1.run(Sys.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
at org.lwjgl.Sys.loadLibrary(Sys.java:84)
at org.lwjgl.Sys.<clinit>(Sys.java:101)
at org.lwjgl.opengl.Display.<clinit>(Display.java:111)
at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(Unknown Source)
at com.jme.app.AbstractGame.getAttributes(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at com.jmetest.physics.ragdoll.TestSimpleRagDoll$2.run(TestSimpleRagDoll.java:118)
BUILD SUCCESSFUL (total time: 4 seconds)
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(PhysicsSpace.java:333)
at com.jmex.physics.util.SimplePhysicsGame.initSystem(SimplePhysicsGame.java:90)
at com.jme.app.BaseGame.start(BaseGame.java:65)
at com.jmetest.physics.TestBasicRepresentation.main(TestBasicRepresentation.java:147)
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?
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!
EDIT:
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.