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

javaws -silent is broken for apps with extensions (like javafx)

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      with 6u12 b02 PIT build, invoke:

      C:\Program Files\Java\jre6\lib>javaws -silent -import -reverse -javafx -J-Dkernel.download.dialog=false http://dl.javafx.com/javafx-cache.jnlp

      we will fail with:

      java.awt.HeadlessException
      at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
      at java.awt.Window.<init>(Unknown Source)
      at java.awt.Frame.<init>(Unknown Source)
      at com.sun.deploy.ui.DialogTemplate.deriveParent(DialogTemplate.java:1585)
      at com.sun.deploy.ui.DialogTemplate.<init>(DialogTemplate.java:105)
      at com.sun.deploy.ui.ProgressDialog.<init>(ProgressDialog.java:37)
      at com.sun.deploy.ui.UIFactory$10.execute(UIFactory.java:738)
      at com.sun.javaws.ui.JavawsSysRun.delegate(JavawsSysRun.java:156)
      at com.sun.deploy.util.DeploySysRun.execute(DeploySysRun.java:24)
      at com.sun.deploy.ui.UIFactory.createProgressDialog(UIFactory.java:736)
      at com.sun.javaws.ui.DownloadWindow.initialize(DownloadWindow.java:125)
      at com.sun.javaws.ui.DownloadWindow.initialize(DownloadWindow.java:137)
      at com.sun.javaws.ui.DownloadWindowHelper.get(DownloadWindowHelper.java:27)
      at com.sun.javaws.Launcher.downloadResources(Launcher.java:1046)
      at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:629)
      at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:207)
      at com.sun.javaws.Launcher.launch(Launcher.java:101)
      at com.sun.javaws.Main.launchApp(Main.java:311)
      at com.sun.javaws.Main.continueInSecureThread(Main.java:215)
      at com.sun.javaws.Main$1.run(Main.java:103)
      at java.lang.Thread.run(Unknown Source)
      #### Java Web Start Error:
      #### null
      java.awt.HeadlessException
      at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
      at java.awt.Window.<init>(Unknown Source)
      at java.awt.Frame.<init>(Unknown Source)
      at com.sun.deploy.ui.DialogTemplate.deriveParent(DialogTemplate.java:1585)
      at com.sun.deploy.ui.DialogTemplate.<init>(DialogTemplate.java:105)
      at com.sun.deploy.ui.UIFactory$3.execute(UIFactory.java:235)
      at com.sun.javaws.ui.JavawsSysRun.delegate(JavawsSysRun.java:156)
      at com.sun.deploy.util.DeploySysRun.execute(DeploySysRun.java:24)
      at com.sun.deploy.util.DeploySysRun$1.run(DeploySysRun.java:46)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.util.DeploySysRun.executePrivileged(DeploySysRun.java:42)
      at com.sun.deploy.ui.UIFactory.showErrorDialog(UIFactory.java:231)
      at com.sun.javaws.ui.LaunchErrorDialog$2.execute(LaunchErrorDialog.java:237)
      at com.sun.javaws.ui.JavawsSysRun.delegate(JavawsSysRun.java:156)
      at com.sun.deploy.util.DeploySysRun.execute(DeploySysRun.java:24)
      at com.sun.deploy.util.DeploySysRun.execute(DeploySysRun.java:33)
      at com.sun.javaws.ui.LaunchErrorDialog.show(LaunchErrorDialog.java:253)
      at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:214)
      at com.sun.javaws.Launcher.launch(Launcher.java:101)
      at com.sun.javaws.Main.launchApp(Main.java:311)
      at com.sun.javaws.Main.continueInSecureThread(Main.java:215)
      at com.sun.javaws.Main$1.run(Main.java:103)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              ngthomas Thomas Ng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: