Java Binary

Distributions of this type conform to the following file structure:

.
├── LICENSE
├── README
├── bin
│   ├── app
│   └── app.bat
└── lib
    └── app-1.0.0.jar

Where:

  • the bin folder contains executable launcher scripts.

  • the lib folder contains all required JARs.

Java binary distributions require a suitable Java runtime to be installed on the consumer side; they are usually packaged as Zip or Tar files.

Creating a Distribution

We recommend using the following plugins to create suitable Java binary distributions:

Maven
Gradle
  • application plugin: generates distribution files that follow the expected structure. Also, packages the distribution as a Zip or Tar.

Packager Support

Packager Supported

Chocolatey

Docker

Homebrew

JBang

Scoop

Snap