/java-package-reduction

Package reduction by Jigsaw

Primary LanguageJava

Java package reduction

The example demonstrates reduction the size of the distribution for applications in Java 9.

Requirements

Compilation and package creation

For Windows and macOS:

mvn clean package -P native-deploy

For Linux:

mvn clean package -P native-deploy,tar-gz

Location of package files

<module name>/target/deploy/native/<file name>.exe (Windows)

<module name>/target/deploy/native/<file name>.dmg (macOS)

<module name>/target/<file name>.tar.gz (Linux)

Article

See Habr (Russian)