jdeps --list-deps app.jar
to check all dependencies of your app.java --list-modules
to get a list of all openjdk modules available.jlink --no-header-files --no-man-pages --compress=2 --add-modules <Comma-separated modules> --output java-runtime
.
java --module-path /opt/javafx-sdk-11/lib --add-modules=javafx.controls -jar app.jar