If someone still arrives here, I would like to point out an article I wrote and demonstrates exactly this: https://blogs.oracle.com/javamagazine/getting-started-with-javafx-on-raspberry-pi. As mipa answered, BellSoft LibericaJDK is indeed a perfect JavaJDK to work with JavaFX on the Raspberry Pi.