Skip to content

Instantly share code, notes, and snippets.

@kansasSamurai
Last active August 26, 2024 20:20
Show Gist options
  • Save kansasSamurai/d1ffe4a02a2d8039e8dfb757021f4e3d to your computer and use it in GitHub Desktop.
Save kansasSamurai/d1ffe4a02a2d8039e8dfb757021f4e3d to your computer and use it in GitHub Desktop.
JetUML Installation/Startup
#!/bin/sh
#
# java21 is also required; run teh following before this:
# sdk env
# javafx must be v21+ : use javafx-workspace/env.sh to set variable
export PATH_TO_FX=/c/dev/tools/sdkman/candidates/javafx/current/lib
cd /c/dev/tools/sdkman/candidates/jetuml/current/bin
./jetuml
#!/bin/sh
#
# ===== Installation =====
# 1) Download JetUML
# 2) Install javafx (manually - is not currently avail from sdkman)
# 3) Java21 (using sdkman)
#
# This is not yet complete; use javafx-workspace to run jetuml:
# 1) must be java 21
# sdk env
# 2) run java jar with javafx
# ./jetuml.sh
#
# javafx must be v21+ : use javafx-workspace/env.sh to set variable
javaw --module-path $PATH_TO_FX --add-modules=javafx.controls,javafx.swing,java.desktop,java.prefs -jar ../JetUML-3.8.jar
# javaw --module-path "/c/dev/tools/sdkman/candidates/javafx/current/lib" --add-modules=javafx.controls,javafx.swing,java.desktop,java.prefs -jar ../JetUML-3.8.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment