-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,688
  • 2
  • 20
  • 34
  • 2
    https://openjfx.io/ – James_D Jun 09 '20 at 03:14
  • You didn't really have to add that single word comment. Did you read my question at all? – Joseph_Marzbani Jun 09 '20 at 03:30
  • 3
    Yes. That’s the link to the instructions for installing JavaFX 14. I’m on a phone and won’t be at a computer for a while, so I’m not being verbose. Sorry if you can’t be bothered to follow the link and figure just a little out on your own, but I thought you would appreciate a timely response. – James_D Jun 09 '20 at 04:02

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
  • 15,674
  • 6
  • 30
  • 39
  • Thank you very much. You just ended my darkest longest day! The last sentence in your comment told me everything. Thank you again ... – Joseph_Marzbani Jun 09 '20 at 06:25