JavaPackager is a hybrid plugin for Maven and Gradle which provides an easy way to package Java applications in native Windows, MacOS or GNU/Linux executables, and generate installers for them. It was born while teaching to my students how to build and distribute their Java apps, and after seeing that a chain of several plugins was needed to achieve this task, I decided to develop a plugin to rule them all. Apply JavaPackager plugin in build.gradle using legacy mode (because at the moment it's only available in Maven Central repository). When you build your app, all configuration details are hardcoded into the executable and cannot be changed without recreating it or hacking with a resource editor. JavaPackager introduces a feature that allows passing of additional JVM options at runtime from an .l4j.ini file (like Launch4j does, but available for all platforms in the same way).

Features

  • Package your app with Maven
  • Package your app with Gradle
  • Create your packaging task
  • Generated artifacts
  • Plugin configuration properties
  • Plugin assets

Project Samples

Project Activity

See All Activity >

Categories

Package Managers

License

GNU General Public License version 3.0 (GPLv3)

Follow JavaPackager

JavaPackager Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JavaPackager!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Java

Related Categories

Java Package Managers

Registered

2023-02-24