Login  Register

Re: Unable to determine GraphicsConfiguration

Posted by DeCiBelZerg on May 04, 2023; 5:51am
URL: https://forum.jogamp.org/Unable-to-determine-GraphicsConfiguration-tp4042444p4042559.html

Ok figured it out, and it was the first response, but for others who come along behind me and have the same problem and aren't well versed in diving into VS code's settings here's what worked:

This text:
--add-exports java.base/java.lang=ALL-UNNAMED
--add-exports java.desktop/sun.awt=ALL-UNNAMED
--add-exports java.desktop/sun.java2d=ALL-UNNAMED

gets pasted here:



Which can be reached by doing this:
1. the following hotkey = ( ctrl + shift + P on windows ) (option + shift + P on mac )
2. type in "settings"



And typing "java" when it asks for languages



Then clear out the search bar and type "jvm" and it should be right there



You should be able to ctrl+V it in there without needing any fancy formatting, and with any luck it works for you like it did for me.

(Also make sure your JDK installation is good; another step I took is to uninstall the JDK I was using and install a different version from a different source)