Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Building a JavaFX application with JavaFX 24

  • Starting with

...

  • JDK 11,

...

...

  • The JavaFX runtime is delivered as an SDK and as a set of jmods for each platform

...

  • .

...

...

  • There are two ways you can use the JavaFX runtime with your application. Both of these methods presume that you have already downloaded JDK 24, set JAVA_HOME to point to it, and put JDK 24 in your PATH.

1. Use the JavaFX SDK to compile and run your JavaFX application

...

Modular apps don't have to specify --add-modulemodules, as the needed modules are in module-info.java of the application.

...