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

Splash Screen does not work when launched from the installer created by <fx:deploy> on Windows/Linux

XMLWordPrintable

    • x86
    • other

      FULL PRODUCT VERSION :
      java version "1.8.0_144"
      Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
      Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.16299.15]
      Linux parallels-vm 4.10.0-40-generic #44~16.04.1-Ubuntu SMP Thu Nov 9 15:37:44 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux



      A DESCRIPTION OF THE PROBLEM :
      The native launcher created by <fx:deploy> does not work with the -splash argument on Windows or Linux.

      It works correctly on macOS.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Take the sample located at https://github.com/minsko/JavaFXInstallerSplashIssue
      run "ant" to compile.
      run "ant create[Windows|Linux|Mac]Installer (depending on your OS.
      Install the application
      Launch the application

      You will NOT see the splash screen on Windows or Linux

      You will see the splash screen on macOS.

      You will see that the -splash argument gets passed on Windows and Linux as an input argument.

      You will NOT see it as an input argument when it works on macOS.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The splash screen should be seen on Windows, Linux, and macOS.
      ACTUAL -
      The splash screen is not seen on Windows or Linux.
      It is only seen on macOS.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      https://github.com/minsko/JavaFXInstallerSplashIssue
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Don't use the native launcher created by the installer

            asemenyuk Alexey Semenyuk
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: