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.