Where can I download jME3-bullet.jar?

I’m following the Hello collision tutorial but I need the bullet physics jar file. I can only find the jBullet one, which lets me compile the example but when I run it it gives a ClassNotFoundException.
Heres the full stack trace:

java.lang.NoClassDefFoundError: com/bulletphysics/collision/dispatch/CollisionConfiguration
	at com.jme3.bullet.BulletAppState.startPhysics(BulletAppState.java:249)
	at com.jme3.bullet.BulletAppState.stateAttached(BulletAppState.java:320)
	at com.jme3.app.state.AppStateManager.attach(AppStateManager.java:148)
	at mcphysics.mcphysics.JME.simpleInitApp(JME.java:33)
	at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:239)
	at com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:513)
	at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:625)
	at com.jme3.system.lwjgl.LwjglWindow.create(LwjglWindow.java:466)
	at com.jme3.app.LegacyApplication.start(LegacyApplication.java:463)
	at com.jme3.app.LegacyApplication.start(LegacyApplication.java:424)
	at com.jme3.app.SimpleApplication.start(SimpleApplication.java:127)
	at mcphysics.mcphysics.JME.main(JME.java:24)
Caused by: java.lang.ClassNotFoundException: com.bulletphysics.collision.dispatch.CollisionConfiguration
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 12 more
1 Like

See

You can get jbullet from

and stack-alloc from

1 Like

@sgold should we add

implementation 'com.github.stephengold:stack-alloc:1.0.2'

to jme3-jbullet build as well?

1 Like

@David If you want to use the native bullet (which is recommended because it is actively maintained and has more features) you need to add the Minie library:

2 Likes

That isn’t necessary since the POM for jbullet v1.0.2 lists stack-alloc v1.0.2 as a runtime dependency.

1 Like