Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fat Multi Platform Jar Example not working in all Cases #66

Open
alex0ptr opened this issue Feb 11, 2022 · 0 comments
Open

Fat Multi Platform Jar Example not working in all Cases #66

alex0ptr opened this issue Feb 11, 2022 · 0 comments

Comments

@alex0ptr
Copy link

The OpenJFX Docs link to this sample project to configure maven to build a fat jar. Uncommenting the graphics dependencies will definitely create a multi-platform jar in the package phase, but the same pom cannot be used to do a mvn javafx:run, because then it fails with:

Graphics Device initialization failed for :  es2, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found

This can be easily circumvented by including the dependencies only when wanting to build the fat jar.
I'll provide a PR with improvements.

Also it would be nice to fix https://openjfx.io/openjfx-docs/ >> Runtime Images >> Non Modular project/application >> Cross-platform jar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant