The current JVM does not detect JavaFX installations. The JFX packager can add the classes
com/javafx/main/Main.class
com/javafx/main/Main$1.class
com/javafx/main/Main$2.class
com/javafx/main/NoJavaFXFallback.class
to a jar file, and those classes can detect a JFX installation. For now I would like to add deployment features to my Leiningen JFX-Plugin. Leiningen is a build tool on top of Maven.
Unfortunately those classes are not shipped with JavaFX, so my plugin cannot rely on finding these somewhere on the user system.
Oracle, could you please clarify if I am allowed to ship those classes with my plugin?
com/javafx/main/Main.class
com/javafx/main/Main$1.class
com/javafx/main/Main$2.class
com/javafx/main/NoJavaFXFallback.class
to a jar file, and those classes can detect a JFX installation. For now I would like to add deployment features to my Leiningen JFX-Plugin. Leiningen is a build tool on top of Maven.
Unfortunately those classes are not shipped with JavaFX, so my plugin cannot rely on finding these somewhere on the user system.
Oracle, could you please clarify if I am allowed to ship those classes with my plugin?
- relates to
-
JDK-8101773 Add option to packer to add launcher class to existing jar
-
- Closed
-