1 Reply Latest reply on Aug 12, 2013 2:54 PM by heismann

    Java WebStart deployment does not create shortcut on desktop

      Using Netbeans 7.3 and latest Java 1.7.0_17. In Properties -> Build -> Deployment I have these settings ticked:

      check for application updates in background
      allow to run with no internet connection
      install permanently
      add desktop shortcut
      add start menu shortcut

      and additionally the jars are signed:

      request unrestricted access (enable signing)

      This creates a jnlp file:

      <?xml version="1.0" encoding="utf-8"?>
      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="PriceBook.jnlp">
           <icon href="my.ico" />
      <jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
      <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
      <jar href="PriceBook.jar" size="107185" download="eager" />
      <jar href="lib/commons-codec-1.1.jar" size="21500" download="eager" />
      <jar href="lib/commons-lang-2.1.jar" size="220682" download="eager" />
      <jar href="lib/hsqldb.jar" size="1411234" download="eager" />
      <jar href="lib/jasypt-1.6.jar" size="144374" download="eager" />
      <applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="PriceBook" >
      <param name="requiredFXVersion" value="2.2+"/>
      <jfx:javafx-desc width="800" height="600" main-class="com.mycompany.PriceBook" name="PriceBook" />
      <update check="background"/>

      There's another thread In need of opinion - desktop shortcut, security warning. which I've tried the suggestions, but I cannot get a permanent install with a shortcut on either Windows or Linux. The app is launched OK, it just does not persist. Using jcontrol on Linux, I can choose an option to create a desktop shotcut, and it does create a shortcut, but as soon as you launch the app, the shortcut is deleted.

      Can anyone help ?