Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8119010

Unable to launch JavaFX 8 sample via invoking the application jar file directly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      It is noticed that one can not launch the JavaFX 8 application by invoking the application jar directly.

      e.g java -jar BouncingBalls.jar
      >>>> Error: JavaFX runtime components are missing, and are required to run this application

      The problem has been occurring since JavaFX8-b73

      *** Tested Configuration:
      - x86 Win 7, Vista
      - jre 8-b74 (SWAT build)

      *** Steps to reproduce:

      0) Install jre8-b74 from
      http://jre.us.oracle.com/java/re/jdk/8/promoted/ea/b74/bundles/windows-i586/jre-8-ea-bin-b74-windows-i586-24_jan_2013.exe

      2) Install JavaFX 8 sample from
      http://jre.us.oracle.com/java/re/javafx/8.0/prepromote/ea/b74/bundles/windows-i586/javafx_samples-8_0_0-ea-b74-windows-23_jan_2013.zip

      3) Invoke any sample application jar file installed from step#2

      e.g java -jar C:\javafx-sample-8.0.0-ea\BouncingBalls,jar

      If the app failed to load with the >>> Error: JavaFX runtime components are missing, and are required to run this application <<<
      then the issue is reproducible

      (If you install jre8-b72 or earlier build and do the same above steps, the issue can not be reproducible, the bouncing ball app loaded fine)


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              hungnguy Hung Nguyen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: