Skip to content

v0.2.8 - Multi-modal Swing GUI Support

Choose a tag to compare

@shannah shannah released this 23 Jan 23:43

What's New

  • Multi-modal application support: Run as either Quarkus REST service or Swing desktop application using the jdeploy.mode system property
  • File and URL handling: Integrated jdeploy-desktop-lib for handling file opens and custom URL schemes in GUI mode
  • Custom main method: Added @QuarkusMain for conditional startup logic
  • Build improvements: New buildUberJar gradle task for creating distributable uber jars

Usage

Run as Quarkus REST service (default):

java -jar jdeploy-service-example-1.0.0-SNAPSHOT-runner.jar

Run as Swing GUI:

java -Djdeploy.mode=gui -jar jdeploy-service-example-1.0.0-SNAPSHOT-runner.jar

Application Installers latest release

Or launch app installer via command-line on Linux, Mac, or Windows:

/bin/bash -c "$(curl -fsSL https://www.jdeploy.com/gh/shannah/jdeploy-service-example/install.sh)"

See download page for more download options.