/multiplatform-distribution

Multi platform distribution for Java application

Primary LanguageJava

Multi platform distribution for Java application

The example demonstrates how to create multi platform distributions for applications in Java 21.

Requirements

Compilation and package creation

With native packages:

mvn clean package -P native-deploy

Without native packages (only ZIP file):

mvn clean package

Location of package files

For all platforms:

multiplatform-distribution-distrib/target/multiplatform-distribution-<version>-no-jre.zip

For Windows:

multiplatform-distribution-client/target/multiplatform-distribution-<version>.exe

For macOS:

multiplatform-distribution-client/target/multiplatform-distribution-<version>.dmg

For Linux:

multiplatform-distribution-client/target/multiplatform-distribution-<version>.tar.gz
multiplatform-distribution-client/target/multiplatform-distribution_<version>.deb
multiplatform-distribution-client/target/multiplatform-distribution_<version>.rpm

Articles