Did you try it with a package level main method?
# tornadofx
r
Did you try it with a package level main method?