Re: GraalVM 24 + Jogl 2.5.0
Posted by
kit89 on
Jun 21, 2025; 9:35pm
URL: https://forum.jogamp.org/GraalVM-24-Jogl-2-5-0-tp4043722p4043784.html
Hi,
I did some work on this to get a personal project working, before you can build the executable with native-image, you need to create a reachability-metadata config using the tracing-agent running via normal java.
https://www.graalvm.org/latest/reference-manual/native-image/guides/configure-with-tracing-agent/I ran into problems with java.awt.Font on GraalVM 24, I think I downgraded to an older version of GraalVM and got it working, but don't quote me on that.
I've recently replaced the use of java.awt.Font with jogamps font classes, grabbing the triangulated glyphs and rendering them that way. I've not rested GraalVM 24 to see if that resolves my problem.
Hope this helps.