Login  Register

JOGL works on JDK 17 but not on JDK 18

Posted by stefanreich on May 01, 2022; 3:20am
URL: https://forum.jogamp.org/JOGL-works-on-JDK-17-but-not-on-JDK-18-tp4041744.html

What the topic says. I have a demo program that I am running on Linux Mint 19. JDK 17 works fine, JDK 18 gives:

FAIL: java.lang.UnsatisfiedLinkError: /tmp/jogamp_0000/file_cache/jln5860679930746491415/jln3657902754341439289/natives/linux-amd64/libnativewindow_awt.so: /home/stefan/dev/jdk-18/lib/libjawt.so: version `SUNWprivate_1.1' not found (required by /tmp/jogamp_0000/file_cache/jln5860679930746491415/jln3657902754341439289/natives/linux-amd64/libnativewindow_awt.so)

What to do?

Also... is the last released version really from 2015? Is anything newer available?

PS: I'm making an image recognizer in Java and I want to throw in some GPU calculations/renderings, that's why JOGL interests me.

Many greetings,
Stefan
Gaz.AI