UnsatisfiedLinkError regarding Minie
jMonkeyEngine Hub
March 4, 2026
Here it is:
plugins {
id 'java'
id 'application'
}
group 'com.mygame'
version '1.0'
application {
applicationName = 'FellowFalls'
mainClass = 'com.mygame.Main'
// Mac OS with LWJGL 3 needs to be started with this JVM argument
if (System.getProperty("os.name").toLowerCase().contains("mac")) {
applicationDefaultJvmArgs = ['-XstartOnFirstThread']
}
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
project.ext {
jmeVer = '3.8.1-stable'
}
project(":assets") {
apply plugin: "java"
buildDir = rootProject.file("build/assets")
sourceSets {
main {
resources {
srcDir '.'
}
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
}
dependencies {
// Core JME
implementation "org.jmonkeyengine:jme3-core:$jmeVer"
implementation "org.jmonkeyengine:jme3-desktop:$jmeVer"
// Mac OS with LWJGL 3 doesn't allow AWT/Swing
if (!System.getProperty("os.name").toLowerCase().contains("mac")) {
implementation "org.jmonkeyengine:jme3-awt-dialogs:$jmeVer"
}
implementation "org.jmonkeyengine:jme3-lwjgl3:$jmeVer"
// Suppress errors / warnings building in SDK
implementation "org.jmonkeyengine:jme3-jogg:$jmeVer"
implementation "org.jmonkeyengine:jme3-plugins:$jmeVer"
// GUI Library
implementation "com.simsilica:lemur:1.16.0"
// Physics Library
implementation "com.github.stephengold:Minie:9.0.1"
// Additional Libraries
// Assets sub-project
runtimeOnly project(':assets')
}
jar {
manifest {
attributes 'Main-Class': application.mainClass
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
wrapper {
gradleVersion = '8.6'
}
as far as I know this is just what the JME IDE gave me.
Discussion in the ATmosphere