A demo of building a modular application with Bach based on HelloFX/CLI by OpenJFX.
- Download JDK 22 or later
- Clone this repository with submodules
Change into the base directory of your cloned project and call:
java @build
- Linux/Mac
java --module-path .bach/out/main/modules:lib --module demo
- Windows
java --module-path .bach\out\main\modules;lib --module demo
- Linux/Mac
.bach/out/main/image/bin/demo
- Windows
.bach\out\main\image\bin\demo