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.
What about JavaFX? It’s included in the Oracle JVM but not in the others afaik.
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.