I have tried using both the Liberica JDK 14 that includes JavaFX as well as Azul 13 that includes JavaFX.
I am trying to webstart an application that does not depend on JavaFX directly. However, it has "plugin" JARs that are downloaded to provide extra functionality based on configuration. These plugin JARs are not in the JNLP, but they are loaded with a URLClassLoader with the JNLPClassLoader set as the parent. I have a few that also do not have any mention of JavaFX and those all work fine.
I know that the javafx modules are available via running
Code: Select all
ModuleLayer.boot().findLoader("javafx.swing").loadClass("javafx.embed.swing.JFXPanel");
Code: Select all
ModuleLayer.boot().modules().stream()
.map(Module::getName)
.forEach(System.out::println);
Sorry, but I cannot share code, jnlp, or log files in this case.