Login  Register

Re: Unable to determine GraphicsConfiguration

Posted by Goofyseeker3 on Mar 04, 2024; 7:01pm
URL: https://forum.jogamp.org/Unable-to-determine-GraphicsConfiguration-tp4042444p4043364.html

I'll try what the eclipse runnable jar-in-jar runner can do with classpath libraries.
Seems like eclipse jar-in-jar runner cannot deal with command line arguments.

I still have the requirement that the deployment does not require any extract but runs directly from the runnable .jar with double click.
I mean the file must be able to be downloaded and ran directly, no install or actual deployment.

final command for running directly from .jar package without deployment, extraction or installation:
java --add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.awt.windows=ALL-UNNAMED -jar joglrenderengine.jar

edit: one remotely acceptable solution is to have a run.bat and run.sh with the distribution package or inside the jar.