Skip to content

Instantly share code, notes, and snippets.

@joparara
Last active December 26, 2024 11:02
Show Gist options
  • Save joparara/bf2751060c2075290d66b8ac7dafec84 to your computer and use it in GitHub Desktop.
Save joparara/bf2751060c2075290d66b8ac7dafec84 to your computer and use it in GitHub Desktop.
running java app with quarkus

First install java!

  sdk install java 17.0.11-graal

Run:

  ./gradlew wrapper --gradle-version=8.1.1 --distribution-type=bin

Or try first wihtout specifiying the version ./gradlew quarkusDev and/or add warnings --warning-mode=all

  ./gradlew quarkusDev  --warning-mode=all

Other techniques: Builds to 8.1.1:

Actually i have no idea why jars and uberjars exist, i guess it's for deployment on production as a binary (java bytecode) that so you can push and run.

./build  
./uberjar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment