Re: Unable to determine GraphicsConfiguration
Posted by
gouessej on
Apr 13, 2023; 12:38pm
URL: https://forum.jogamp.org/Unable-to-determine-GraphicsConfiguration-tp4042444p4042454.html
Hello
At first, please can you confirm that you use the very latest version of JOGL, i.e JOGL 2.4.0? If not, please use it as it contains at least two bug fixes that might help in your case for sure.
Sven quoted a part of an Ant script. Yes of course, you can use those flags in command line too.
I've looked at your command line, I don't see your classpath. I hope that you don't put the JARs into the JDK, it's a very bad practice.
Please try to solve your problem outside your IDE as a first step and inside your IDE as a second step in order to separate the root causes that don't depend on your IDE and those that depend on it. By the way, Visual Studio Code has several known limitations and bugs that affect Java projects using neither Maven nor Gradle, it's not the best choice for Java programming for sure, I had similar issues with Eclipse Theia.
By the way, I have to use a different syntax in some IDEs:
--add-opens
=java.desktop/sun.awt=ALL-UNNAMED
Note the
first equal.
If the problem persists, I can try with Eclipse Theia as the settings are more or less the same as Visual Studio Code and VS Codium.
Please can you provide a reproducer?