External Publication
Visit Post

UnsatisfiedLinkError regarding Minie

jMonkeyEngine Hub March 5, 2026
Source

Welcome to JMonkeyEngine, @BrentLoaf!

The CollisionConfiguration.createNative(int, int) method is part of a library of native code used by Minie. The UnsatisfiedLinkError you’re getting could indicate that you’re trying to create a physics configuration before your application has loaded that native library.

On desktop platforms, JMonkeyEngine automatically loads the appropriate native library during initialization of the JmeDesktopSystem class if it detects Minie’s NativeMeshUtil class. Based on the stack trace you posted, I infer that the app’s start() method hasn’t been invoked yet. That suggests the JmeDesktopSystem class probably hasn’t been initialized.

The simplest workaround would be to explicitly load the native library in your main() method, like so:

import com.jme3.system.NativeLibraryLoader;
//...
public static void main(String[] arguments) {
//...
        // Load the native library for this platform:
        NativeLibraryLoader.loadNativeLibrary("bulletjme", true);

I hope that does the trick. If not, I’ll have a followup question for you. Either way, please report back to this forum, so we know whether/how the issue was resolved.

Discussion in the ATmosphere

Loading comments...