-2

Oracle has clearly stated:

"As of JDK 7u6 JavaFX is included with the standard JDK and JRE bundles."

Currently I have JDK 14 on my desktop computer; I search the entire system to find such a file as jfxrt.jar; but nothing found. Also System.getProperty("javafx.runtime.version") returns null.

Additionally, I installed JavaFX SDK from OpenJfx and took a look inside its lib directory. The following are the only thing I found (nothing for run time; no jfxrt.jar):

enter image description here

Where can I download jfxrt.jar then?

Joseph_Marzbani
  • 1,796
  • 4
  • 22
  • 36

1 Answers1

4

JavaFX was removed from JDK since JDK 11.
Since JDK 9, java is modular.
JavaFX was split into modules.
Hence there is no longer a single jfxrt.jar file. There are several JAR files, one for each module.

Abra
  • 19,142
  • 7
  • 29
  • 41