Login  Register

Re: Illegal reflective access with jogamp-java3d1.7.0-final

Posted by gouessej on Apr 02, 2023; 12:57pm
URL: https://forum.jogamp.org/Illegal-reflective-access-with-jogamp-java3d1-7-0-final-tp4042358p4042380.html

It works with Java 11:
~/Documents/install/jdk-11.0.18+10/bin/java --add-opens java.desktop/sun.awt=ALL-UNNAMED -cp bin:j3dcore.jar:j3dutils.jar:vecmath.jar:jogamp-fat.jar fr.PyramidExample

In some situations, you have to omit the first equal sign and in some others, you must use it:
-add-opens java.desktop/sun.awt=ALL-UNNAMED
or
-add-opens=java.desktop/sun.awt=ALL-UNNAMED

Thank you for the valuable feedback again.

P.S : Java3D 1.7 is compiled with Java 1.8.0 update 25 according to the manifest.
Julien Gouesse | Personal blog | Website