JavaFX was removed from the main Java spec in Java 11. Even the Oracle Java distribution. It’s a separate project now and is pretty easy to include as as jar if needed. In fact there are non-Oracle builds of the JVM that do add it (there are Zulu builds that put it back in). Because Java is now GPL. Anyone can create a build and include what they want.
JavaFX was removed from the main Java spec in Java 11. Even the Oracle Java distribution. It’s a separate project now and is pretty easy to include as as jar if needed. In fact there are non-Oracle builds of the JVM that do add it (there are Zulu builds that put it back in). Because Java is now GPL. Anyone can create a build and include what they want.