Login  Register

Re: Unable to determine GraphicsConfiguration

Posted by Sven Gothel on Apr 13, 2023; 12:12am
URL: https://forum.jogamp.org/Unable-to-determine-GraphicsConfiguration-tp4042444p4042449.html

So I assume you run OpenJDK >= 11 && <= 17?
Then perhaps add: --illegal-access=warn

Edit: I see you used Azul's version 18 (zulu, OpenJDK compatible).
Hmm .. last time I tried with their product on GNU/Linux I had no issues.

Below is JOGL's make/build-test.xml handling these things.

       
       
        <condition property="jvmarg.modules"  value="--add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED">
            <isset property="minJava17"/>
        </condition>
        <condition property="jvmarg.modules"  value="--illegal-access=warn">
            <and>
                <isset property="minJava11"/>
                <not>
                    <isset property="minJava17"/>
                </not>
            </and>
        </condition>