JMail - JavaFX desktop app example build with Maven Build & Run Run app mvn clean javafx:run Create executable jar and run it with script Maven Shade JavaFX runtime components are missing mvn clean install # chmod +x run-executable-jar.sh ./run-executable-jar.sh Create executables: Win / Linux / Mac JavaFX, JLink and JPackage Tree FX javafx-maven-plugin jpackage-maven-plugin mvn clean compile javafx:jlink jpackage:jpackage Debug Run app in debug mode mvn clean javafx:run@debug In intellij idea run Remote debug Resources Initial resources YouTube: Building and Deploying Java Client Desktop Applications with JDK 17 and Beyond src code: jmail javafx app Create JavaFX sample app: Run HelloWorld using Maven javafx-maven-archetypes mvn archetype:generate \ -DarchetypeGroupId=org.openjfx \ -DarchetypeArtifactId=javafx-archetype-simple \ -DarchetypeVersion=0.0.6 \ -DgroupId=org.example \ -DartifactId=sample \ -Dversion=1.0.0 \ -Djavafx-version=21 Download JavaFX Maven JavaFX OpenJFX Docs Samples intellij idea: how to debug a java:fx maven project?