Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8099513 Application life-cyle model and implementation
  3. JDK-8100311

Create standalone JavaFX Main class for use by the packager when creating a launchable jar

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0
    • None
    • javafx

      We need to create a simple JavaFX Main class, com.sun.javafx.application.main.Main (similar to what we did in JavaFX 1.x), such that the packager can include a copy of this class in the application jar file. This class needs to do the following:

      1) Determine whether the JavaFX runtime is installed (and fail gracefully it isn't)

      2) Locate the JavaFX runtime from the deployment toolkit

      3) Add the JavaFX runtime to the application classpath

      4) Call into com.sun.javafx.application.Main (which is in the JavaFX runtime), passing in the application class name

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: