Error running jar file

I got this error when running one of my programs on another computer. The settings menu would run, but the program would crash after clicking “continue.”

Dec 01, 2022 1:10:04 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.4.0-stable
 * Branch: HEAD
 * Git Hash: cb5173b
 * Build Date: 2021-05-30
Inconsistency detected by dl-lookup.c: 111: check_match: Assertion 'version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!

The other computer uses the same operating system as my computer, but uses Java 11 Runtime instead of Java 8 Runtime. I don’t know much else about the issue.

Edit: I have run the jar file before, and on other computers too, without this issue.

Thanks ahead of time!

1 Like

I believe this issue is caused by loading a native library compiled with an old version of GCC with a JVM that was compiled using a newer version of GCC.

In particular, I’ve seen this issue with OpenJDK 11 on Linux. Since I switched to Temurin JDK, the issue went away.


I know this isn’t very java thinking but these are the sort of issues that make bundling a jre with your application appealing

1 Like

@codex: Have you resolved the error?

Sorry, I have a bad habit of letting topics hang. :stuck_out_tongue:
No, I haven’t gotten around to resolving it yet.