Use this boilerplate code to author Java applications using Quarkus.
You can run your application in dev mode that enables live coding using below. Dev UI should be accessible at http://localhost:3005/q/dev-ui/.
./mvnw quarkus:dev
-
Build the JAR
./mvnw package
-
Run the JAR
java -jar ./target/boilerplate-java-1.0.0.jar
-
Build native executable
./mvnw package -Dnative
-
Run the executable
./target/boilerplate-java-1.0.0