https://github.com/sormuras/bach-demo-helidon
🛫 Bach + Helidon
https://github.com/sormuras/bach-demo-helidon
bach java modules
Last synced: 10 months ago
JSON representation
🛫 Bach + Helidon
- Host: GitHub
- URL: https://github.com/sormuras/bach-demo-helidon
- Owner: sormuras
- Created: 2021-03-24T12:58:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T11:17:34.000Z (about 2 years ago)
- Last Synced: 2025-01-12T08:45:51.928Z (over 1 year ago)
- Topics: bach, java, modules
- Language: Java
- Homepage: https://github.com/sormuras/bach
- Size: 919 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🛫 Bach + Helidon
This project is based on the [Helidon SE Quickstart Guide](https://helidon.io/docs/latest/se/guides/quickstart).
## Prelude
- Install [JDK](https://jdk.java.net) 22 or later
- Clone this repository with submodules
## Build
Build this project with Bach.
```shell
java @build
```
## Run via Java Launcher
Run on the module-path.
On Linux/MacOS:
```shell
java --module-path .bach/out/main/modules:lib --module demo
```
On Windows:
```shell
java --module-path .bach\out\main\modules;lib --module demo
```
```text
[...]
INFO: Helidon SE 4.0.7 features: [Config, Encoding, Media, WebServer]
Apr 22, 2024 11:52:39 PM io.helidon.webserver.ServerListener start
INFO: [0x0eed1446] http://0.0.0.0:8080 bound for socket '@default'
Apr 22, 2024 11:52:39 PM io.helidon.webserver.LoomServer startIt
INFO: Started all channels in 30 milliseconds. 338 milliseconds since JVM startup. Java 22+36-2370
WEB server is up! http://localhost:8080/simple-greet
```
## Run via Custom Runtime Image
- Linux/Mac
```shell script
.bach/out/main/image/bin/demo
```
- Windows
```shell script
.bach\out\main\image\bin\demo
```
For further actions, consult the [Helidon SE Quickstart Guide](https://helidon.io/docs/latest/#/se/guides/02_quickstart).
Hit `CTRL+c` to exit the process.