Can't run my game on openjdk 11.0.13

I’m trying to run my game on:

openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

But I’m getting this error:

Feb 14, 2022 8:04:49 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.3.0-stable
 * Branch: HEAD
 * Git Hash: 391e0dc
 * Build Date: 2021-04-05
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!

I found the solution to this problem elsewhere and downgraded to jdk8. And it runs fine on jdk8, but running it on a newer jdk would be nice-ish. :slight_smile:

Do you have any solutions?

EDIT: I haven’t kept track of the jdk-releases at all. openjdk 11.0.13 is what I got when installing jdk in ubuntu 20 using: sudo apt install default-jdk

1 Like

I had similar trouble with OpenJDK 11 on Linux, so I switched to Temurin. I think it’s a question of which shared libraries the JVM was compiled for.

openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-post-Debian-########)
OpenJDK 64-Bit Server VM (build 11.0.13+8-post-Debian-#########, mixed mode, sharing)

it is AdoptOpenJDK i belive. But not Ubuntu, Debian / Centos here.

and it works perfectly. Fact is that i probably dont have assertions turned on currently, and with them “on” i probably would have same issue.

try turn off java assertions and see.(well they should be disabled by default?)

@antism Did you find a JDK 11 that meets your needs?