I've updated my old tornadofx build demo repositor...
# tornadofx
a
I've updated my old tornadofx build demo repository: https://github.com/altavir/fx-demo. The build works both for Java 8 and Java 11+, so it could be a good starting point for people who are struggling with JavaFX setup.
d
Nice! Could you maybe explain me how this works without explicitely mentioning javafx for jdk8 ?
a
I can try. In order to use tornadofx, you need to have javafx runtime components on your classpath. Either they are included in your java distribution, or you can add them during build. In this case I detect JDK version and use openjfx plugin to load dependencies if JDK does not include them.