Skip to content

sormuras/bach-demo-helidon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛫 Bach + Helidon

This project is based on the Helidon SE Quickstart Guide.

Prelude

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

Build

Build this project with Bach.

java @build

Run via Java Launcher

Run on the module-path.

On Linux/MacOS:

java --module-path .bach/out/main/modules:lib --module demo

On Windows:

java --module-path .bach\out\main\modules;lib --module demo
[...]
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
.bach/out/main/image/bin/demo
  • Windows
.bach\out\main\image\bin\demo

For further actions, consult the Helidon SE Quickstart Guide.

Hit CTRL+c to exit the process.