Maven and Gradle Packaging, Java Modules, module-info.java and JavaFX Module Configuration
Learn Maven and Gradle Packaging, Java Modules, module-info.java and JavaFX Module Configuration (Phase 15 · Packaging and Deployment (Core), JavaFX) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Packaging options • Classpath fat jar (maven-shade/Gradle shadow): simple but JavaFX needs a non- Application launcher class as Main-Class and platform-specific JavaFX jars. Modular app ( module-info.java ): run with the module path; enables jlink custom runtimes and jpackage installers. Native installers : jpackage . The JavaFX jars are platform-classified (win/linux/mac): the Maven plugin picks the right one for the build machine; for cross-platform fat jars include all classifiers or build on each OS (CI matrix).