ursus contionabundo: JavaFX und Java 11: Bereitstellung der externen Module bei Programmabgabe

Beitrag lesen

Du meinst:

2.3.1 Self-Contained Applications

Starting from JDK 7 update 6, JavaFX applications can be packaged as a platform-specific, self-contained application. These applications include all application resources, the Java and JavaFX runtimes, and a launcher, and they provide the same install and launch experience as native applications for the operating system.

Self-contained applications can be distributed as zip files or as installable packages: EXE or MSI for Windows, DMG for Mac, or RPM or DEB for Linux.

Das meint: "Sowas geht." Aber die klassischen jar-Files funktionieren trotzdem - wenn auf den Rechnern eine JRE mit JavaFX als lib vorhanden ist oder wenn Du diese wie eigene libs mit einbindest.