[SOLVED] Jme3-examples-alpha7 still using jbullet

Hi there , afaik you have removed jbullet from jme3.4.0 , but the examples are still using jbullet so i am getting this (when trying to run an android example):

Should the examples be updated to use Minie instead ?

    /*add the JMonkeyEngine Dependencies*/
    implementation "org.jmonkeyengine:jme3-core:3.4.0-alpha7"
    implementation "org.jmonkeyengine:jme3-examples:3.4.0-alpha7"
    implementation "org.jmonkeyengine:jme3-jbullet:3.4.0-alpha7"
    implementation "org.jmonkeyengine:jme3-effects:3.4.0-alpha7"
    implementation "org.jmonkeyengine:jme3-android-native:3.4.0-alpha7"
    implementation "org.jmonkeyengine:jme3-lwjgl:3.4.0-alpha7"

jbullet is not removed only the native bullet is removed.

2 Likes

So, to fix this what should i do anyway ?

Thank you.

jme3-jbullet requires jbullet.jar and stack-alloc.jar which are not in bintray or maven central so you need to copy them into the lib directory manually like this example.

and change your build script like this

or if you want to use Minie instead then you need to remove this line:

and replace it with Minie

2 Likes

I cannot , the examples are using jbullet, i don’t want to change the src , so i will try to import stack-alloc & jbullet jars.

1 Like

It works fine now :slight_smile: , btw i have imported those jars as android modules since i am in an android context , copying/pasting directly didn’t work :-)).

Thank you.

2 Likes

Yep, those work,as well :

    implementation files('libs/jbullet.jar')
    implementation files('libs/stack-alloc.jar')

i was using the project instead of files so that why what makes android think that they are modules & give me error project not found.

Sorry about these disturbances, i think it’s better to do a new clean PR, you can close this one.

Thanks for your patience.

1 Like