JavaFX samples to run from IntelliJ with different options and build tools
Version IntelliJ IDEA 2019.1
Download JDK 17 or later for your operating system.
Make sure JAVA_HOME
is properly set to the JDK installation directory.
Download JavaFX SDK for your operating system and unzip to a desired location.
Clone the sample, open it with IntelliJ, and make sure the paths for JDK and JavaFX match those on your machine.
Run with Run -> Edit configurations -> Main
.