Jzy3d working with Java 17

47 views
Skip to first unread message

BM Productions

unread,
Jun 22, 2022, 4:55:10 AM6/22/22
to Jzy3d
HI

java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1
    at jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:169)

Does this fix in latest JOGl version?
What else we can do?

I can see some places where following statement might help.
If its use in an deployed application, does not looks easy to run on every machine.
> This should work in the meantime: > --add-exports java.base/java.lang=ALL-UNNAMED > --add-exports java.desktop/sun.awt=ALL-UNNAMED > --add-exports java.desktop/sun.java2d=ALL-UNNAMED

Martin Pernollet

unread,
Jun 22, 2022, 5:30:23 AM6/22/22
to jz...@googlegroups.com
The JVM option you mention can indeed fix the JOGL exception, as discussed on this ticket. This assumes you use JOGL 2.4 which was introduced in Jzy3D 2.1. 


--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "Jzy3d".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jzy3d+un...@googlegroups.com.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/jzy3d/d6f55d9c-3137-451a-a59e-a21c4106668cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages