https://github.com/sormuras/bach-demo-javafx
⭐ Bach + JavaFX
https://github.com/sormuras/bach-demo-javafx
Last synced: 7 months ago
JSON representation
⭐ Bach + JavaFX
- Host: GitHub
- URL: https://github.com/sormuras/bach-demo-javafx
- Owner: sormuras
- License: mit
- Created: 2019-11-29T05:05:57.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T09:56:30.000Z (about 2 years ago)
- Last Synced: 2025-01-31T22:51:19.784Z (over 1 year ago)
- Language: Java
- Homepage: https://github.com/sormuras/bach
- Size: 1.32 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bach + JavaFX App
A demo of building a modular application with [Bach] based on [HelloFX/CLI](https://github.com/openjfx/samples/tree/master/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:
```shell script
java @build
```
## Run via Java Launcher
- Linux/Mac
```shell script
java --module-path .bach/out/main/modules:lib --module demo
```
- Windows
```shell script
java --module-path .bach\out\main\modules;lib --module demo
```
## Run via custom runtime image
- Linux/Mac
```shell script
.bach/out/main/image/bin/demo
```
- Windows
```shell script
.bach\out\main\image\bin\demo
```
[Bach]: https://github.com/sormuras/bach
[JDK]: https://jdk.java.net
[OpenJFX]: https://openjfx.io