CLI Commands
jbundle build
jbundle build [OPTIONS] --input <PATH> --output <PATH>Required Arguments
Argument
Description
Options
Option
Default
Description
Examples
# Basic build
jbundle build --input ./my-app --output ./dist/app
# With Java 17
jbundle build --input . --output ./app --java-version 17
# CLI profile for fast startup
jbundle build --input . --output ./app --profile cli
# Cross-compile for Linux
jbundle build --input . --output ./app --target linux-x64
# Multiple JVM arguments
jbundle build --input . --output ./app --jvm-args "-Xmx512m -XX:+UseZGC"
# From pre-built JAR
jbundle build --input ./target/app.jar --output ./dist/app
# With CRaC (Linux)
jbundle build --input . --output ./app --cracjbundle info
jbundle clean
jbundle --version
jbundle --help
Exit Codes
Code
Meaning
Environment Variables
Variable
Description
Logging Examples
Last updated
Was this helpful?