Skip to content

sormuras/bach-demo-javafx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bach + JavaFX App

A demo of building a modular application with Bach based on HelloFX/CLI by OpenJFX.

Prepare

  • Download JDK 22 or later
  • Clone this repository with submodules

Build

Change into the base directory of your cloned project and call:

java @build

Run via Java Launcher

  • Linux/Mac
java --module-path .bach/out/main/modules:lib --module demo
  • Windows
java --module-path .bach\out\main\modules;lib --module demo

Run via custom runtime image

  • Linux/Mac
.bach/out/main/image/bin/demo
  • Windows
.bach\out\main\image\bin\demo