Re: Unable to determine GraphicsConfiguration
Posted by
gouessej on
Mar 04, 2024; 6:24pm
URL: https://forum.jogamp.org/Unable-to-determine-GraphicsConfiguration-tp4042444p4043358.html
Please can you run the rudimentary example and confirm it works on your machine in order to confirm that a non modular project using JOGL works on it before focusing on your modular project?
Does it still fail when you replace --add-exports by --add-opens?
Why do you need to specify "--add-modules ALL-MODULE-PATH"? As JOGL 2.5.0 isn't modular yet, you cannot use -p (which is a shortcut of --module-path) on it but you can use it on other modules like in my tutorial about OpenJFX/JavaFX.
Where is the module or the JAR containing your own classes?
P.S: If you put both JogAmp and your own classes (your "bin" directory) into the classpath and if you use the same 4 --add-opens clauses than in my example, it will work.