Login  Register

Fail to run with openjdk-11 and openjdk-12

Posted by jonas.vautherin on Aug 26, 2019; 10:16pm
URL: https://forum.jogamp.org/Fail-to-run-with-openjdk-11-and-openjdk-12-tp4040000.html

I am trying to build and run a project depending on java3d. It is all fine with java 8, but when building and running with openjdk-11 or openjdk-12, I get the following error:

```
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
```

I am building java3d myself and including the dependencies as gradle "includeBuild" projects (java3d-utils, java3d-core, vecmath). The others 4 dependencies come from maven directly. It looks like so:

```
dependencies {
    implementation 'com.intellij:forms_rt:7.0.3'
    implementation 'com.sun.j3d:java3d-utils:1.6.2'
    implementation 'javax.media.j3d:java3d-core:1.6.2'
    implementation 'javax.vecmath:vecmath:1.6.2'
    implementation 'org.jogamp.gluegen:gluegen-rt-main:2.3.2'
    implementation 'org.jogamp.jogl:jogl-all-main:2.3.2'
    implementation 'org.scream3r:jssc:2.8.0'
}
```

Is it supposed to work with java 11 and 12? Is it a known issue, or something wrong on my system?