Re: Launching a javafx application from a groovy script

2025-04-08 Thread Per Nyfelt
I figured out a workaround: 1. Detect the OS and architecture and set the classifier based on that 2. Use Grape.grab instead of @Grab to download the platform implementation explicitly 3. Use the main method of the Application instead of explicitly calling Application.launch(..) to make the

Launching a javafx application from a groovy script

2025-04-08 Thread Per Nyfelt
Hi, I have a javafx application published to a nexus server that I want to launch from a groovy script. The application has javafx jar defined as compileOnly (provided in maven lingo) so javafx must be added to the classpath. When i use a full jdk that includes javafx the applicaton works g