Login  Register

Re: Java17 compatibility error ??

Posted by gouessej on Oct 08, 2024; 6:08am
URL: https://forum.jogamp.org/Java17-compatibility-error-tp4043006p4043562.html

You wrote :
-‐add-opens=java.desktop.sun.awt=ALL-UNNAMED

instead of :
-‐add-opens=java.desktop/sun.awt=ALL-UNNAMED

Do you see the difference?

By the way, I mentioned two directories to rename, not only one. Yes, the --add-opens clause should appear first before the classpath.
Julien Gouesse | Personal blog | Website