Login  Register

Re: Unable to determine GraphicsConfiguration

Posted by gouessej on Mar 02, 2024; 2:04pm
URL: https://forum.jogamp.org/Unable-to-determine-GraphicsConfiguration-tp4042444p4043345.html

At first, you're talking about an executable JAR that you run on a double click. We don't patronize our users but this deployment method has some important limitations as either you are restricted to the settings that you can change in the manifest or you have to create a launcher class that undergoes these limitations to run a JRE that has access to all command line parameters.

Secondly, there is no magic, we are not responsible for the changes in Java itself, the modularization brings some useful features but brings its part of complexity. You can't really blame a third party library, we do what we can. On the long term, there is a plan consisting in driving JogAmp more "module friendly" but it requires some efforts in order to avoid breaking things and it's not a trivial task. In the meantime, I tested some of my tutorials under Windows (not at home) and they work, which means that JogAmp isn't broken, there's a way to make it work.

I advise you to look at my tutorial about JOGL and OpenJFX/JavaFX, try to run the example as is, it will give you a working example to start fixing your own stuff. Someone else under Windows succeeded in making it work. By the way, take care of the two way of using --add-opens and --add-exports with the '=' characters, only one syntax is supported in some IDEs and build tools.

Those concerns aren't specific to JogAmp.
Julien Gouesse | Personal blog | Website