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

JavaFX Native Packager disables SplashScreen-Image Manifest Attribute

    XMLWordPrintable

    Details

      Description

      I have built a Windows application using the JavaFX native packager. The jar file contains manifest attribute:

      SplashScreen-Image: mylogo.png

      and "mylogo.png" is present at the root of the jar file.

      If I run the .jar file directly (double click in Windows or use java -jar myjar.jar), the splash screen displays as expected. If however I run the .exe generated by the JavaFX packager, the splash screen image is never shown.

      The splash screen is needed as the JVM takes a long time to load and display the first application screen (JavaFX stage) (upwards of 60-90 seconds) on some slow customer systems and the splash screen image provides more immediate feedback that the application is starting.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cbensen Chris Bensen (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: