Skip to content

Instantly share code, notes, and snippets.

@KanishkVashisht
Created September 10, 2019 23:37
Show Gist options
  • Save KanishkVashisht/6c1f8924a941e59727e72e2f1f2bff60 to your computer and use it in GitHub Desktop.
Save KanishkVashisht/6c1f8924a941e59727e72e2f1f2bff60 to your computer and use it in GitHub Desktop.
export PATH_TO_FX = /path/to/javafx
export JAVA_HOME = /Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home #might be a bit different
sudo $JAVA_HOME/bin/jlink --module-path $PATH_TO_FX --add-modules java.se,javafx.base --bind-services --output /Library/Java/JavaVirtualMachines/jdkfx-12.0.2.jdk
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdkfx-12.0.2.jdk/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment