The correct thing to do is to use jlink to create a JRE for your application, including the JavaFX JMODs. Package the JRE with the application, sa that is noe the recommended practice. The new jpackage tool in JDK 14 can help with that.
Regards, Scott > On Mar 21, 2020, at 12:30 PM, Jean-Claude Dauphin <jc.daup...@gmail.com> > wrote: > > Hello, > The application is a modules suite where some modules use JavaFX code. The > application was running fine with Java 1.8 that includes JavaFX. But now I > have installed Open JDK 14 and Open JavaFX 14. > To solve JavFX dependencies, I have created a library wrapper module that > includes JavaFX 14 jar files. Building the application works well but when I > run the application I got an error message: > ====================================================== > Graphics Device initialization failed for : d3d, sw > Error initializing QuantumRenderer: no suitable pipeline found > java.lang.RuntimeException: java.lang.RuntimeException: Error initializing > QuantumRenderer: no suitable pipeline found > at > com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280) > > ........................ > ===================================================== > > I am not sure this is the right way to include JavaFX 14 in a module suite > application ? > > Any idea why I get this error message at run time ? > > Thank you in advance for any advice on these issues. > Best wishes, > JCD > > -- > Jean-Claude Dauphin > > jc.daup...@gmail.com <mailto:jc.daup...@gmail.com> > > https://github.com/J-ISIS <https://github.com/J-ISIS> > >