Re: Java17 compatibility error ??
Posted by andrewk1972 on Oct 08, 2024; 10:04am
URL: https://forum.jogamp.org/Java17-compatibility-error-tp4043006p4043563.html
Thanks again for your responses.
Duh! What a dope!
Changed the option to:
--add-opens=java.desktop/sun.awt=ALL-UNNAMED
and also:
--add-opens java.desktop/sun.awt=ALL-UNNAMED
Either way, I get:
Unrecognized option: -‐add-opens
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
This is ridiculous!
Java 23 specifies --add-opens (see java --help-extra), yet the error says it's unrecognised!
What the hell is going on???