Re: getAWTgraphicsconfiguration() causes NPE error
Posted by Oskarnaugh on Apr 07, 2022; 5:39am
URL: https://forum.jogamp.org/getAWTgraphicsconfiguration-causes-NPE-error-tp4041439p4041712.html
Notice than in JDK version 17, I only needed the option --add-opens java.desktop/sun.awt=ALL-UNNAMED to make it run.
The illegal reflective access warnings that showed up when setting the java2d system properties didn't appear in this version but they did in version 11, so check which ones are needed depending on your target JDK