The Java Packager tool can be used to compile, package, sign, and deploy Java and JavaFX applications from the command line. It can be used as an alternative to an Ant task or building the applications in an IDE.
The Java Packager tool generates executable Java/JavaFX applications for Windows, Linux, and macOS platforms. It can also generate installers for those platforms in various formats including DMG or PKG on macOS, MSI on Windows, and RPM or DEB on Linux. Also supports generating packages for distribution on the Mac App Store including jar signing.
Documentation for the command is available here: https://docs.oracle.com/javase/9/tools/javapackager.htm#JSWOR719
Questions related to usage of the command, command options, or errors obtained when using it are welcome.