-4

Why does IntelliJ not see javafx? I thought that it comes with the java JDK. enter image description here

  • JavaFX used to be included with **Oracle's** distribution of the JDK. It was never part of all OpenJDK distributions (e.g., on Linux). But Oracle has not included JavaFX in the JDK as of Java/JavaFX version 11. Some vendors, however, still provide JDK/JRE distributions that include JavaFX (see [jewelsea's answer](https://stackoverflow.com/a/72904732/6395627)). – Slaw Jul 07 '22 at 23:57

1 Answers1

4

JavaFX only comes with some JDK distributions (e.g. Azul Zulu JDK FX or BellSoft Liberica Full JDK), see the:

Official documentation is at:

Quick start with Idea is the:

jewelsea
  • 150,031
  • 14
  • 366
  • 406