Login  Register

Re: JOGL works on JDK 17 but not on JDK 18

Posted by stefanreich on Jun 13, 2022; 3:35pm
URL: https://forum.jogamp.org/JOGL-works-on-JDK-17-but-not-on-JDK-18-tp4041744p4041774.html

I did a few more tests, and the problem is actually not in the JDK major version (17 vs 18) - but rather in the JDK distribution.

-Temurin 17 works (OpenJDK Runtime Environment Temurin-17.0.1+12-202201132255)
-Oracle JDK 17 produces the SUNWprivate error (Java(TM) SE Runtime Environment (build 17.0.3.1+2-LTS-6))
-Oracle JDK 18 produces the SUNWprivate error (Java(TM) SE Runtime Environment (build 18.0.1.1+2-6))
-OpenJDK 17 produces the SUNWprivate error (OpenJDK Runtime Environment (build 17.0.2+8-86))
-OpenJDK 18 produces the SUNWprivate error (OpenJDK Runtime Environment (build 18+36-2087))

So it seems only Temurin gets the job done...