Login  Register

Re: Jogl/Jogamp on Java 9 no compatible graphics context

Posted by gouessej on Jan 08, 2018; 9:54am
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038491.html

Hi

Ok you don't use a virus scanner. I cannot run your example using Java Webstart because it requires to install Java 1.9 on a machine I'm not allowed to do so :s I don't have any computer under Windows at home, I'm under Mageia Linux 6.

Your problem under Windows only occurs with Java Webstart. I explained to you that I had the same exception (java.lang.ArrayIndexOutOfBoundsException) not using Java Webstart and I showed you my workaround that works without Java Webstart. The problem is that this workaround is absolutely necessary due to changes in Java itself since Java 1.9. It's no longer a problem with JOGL, it's a problem of allowing "--permit-illegal-access" or "--add-exports=java.base/java.lang=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.desktop/sun.java2d=ALL-UNNAMED" to work with Java Webstart.

Another stack trace mentions the bug 1004, maybe we should take into account Sven's advice.
Julien Gouesse | Personal blog | Website