Bullet package missing in jMonkeyEngine3.jar

Hi,



Trying to to Hello Collision, but the lines:



import com.jme3.bullet.BulletAppState;

import com.jme3.bullet.collision.shapes.CapsuleCollisionShape;

import com.jme3.bullet.collision.shapes.CollisionShape;

import com.jme3.bullet.control.CharacterControl;

import com.jme3.bullet.control.RigidBodyControl;

import com.jme3.bullet.util.CollisionShapeFactory;



throws some errors, then I realise that bullet is not present in jMonkeyEngine3.jar, but can be found in the “source” folder.



is it supposed to work this way? Should the code in the tutorials be updated?

You are missing jME3-jbullet.jar

it seems so, but where can I download it from? it doesn’t seem to be under the Downloads section.



thanks.

Its either preinstalled when you use jMP or its in the lib subfolder of the nightly build. The eclipse tuto tells you to put all jars from there in the classpath no?

Select jMonkeyEngine3.jar and click Open.

All necessary JAR libraries are now on the classpath and should appear in the Referenced Libraries list.





I did that, but it only added one JAR, the rest of the JARs in “lib” folder did not magically appear in the Refrenced Libraries list.

thanks for the help normen, I added the list of JARS in “lib” ,manually in Eclipse and it works now.



cheers!

edwardchuajh said:
I did that, but it only added one JAR, the rest of the JARs in "lib" folder did not magically appear in the Refrenced Libraries list.

Hm, earlier versions of eclipse used to link all libraries referenced in the jar manifest to the classpath too.. Anyway glad you got it to work ^^

thanks! :slight_smile:

@Normen that never worked (in eclipse for me), I know since I constantly need to add ajrs manually (like after each update)

Yeah, never understood why eclipse doesnt support all the default goodness that java brings and istead does its own half-baked thing…

Eclipse automatically includes all of the libs from the manifest in jMonkeyEngine3.jar. You might need to hit F5 to refresh or restart eclipse.