I read somewhere that java 9 is not supporting JavaFX, I guess I could just add javafx as a dependency and it should work fine in java 9 also.
Its not about being supported or not. It's just an external. it's not up-to-date with java 11 https://openjfx.io/
You can also use clojure with it if you want a lisp dialect.