Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java WebStart deployment does not create shortcut on desktop

bjbcatsMar 23 2013 — edited Aug 12 2013
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">
<information>
<title>PriceBook</title>
<vendor>blah</vendor>
<description>blah</description>
<icon href="my.ico" />
<offline-allowed/>
</information>
<resources>
<jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
</resources>
<resources>
<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" />
</resources>
<security>
<all-permissions/>
</security>
<shortcut><desktop/></shortcut>
<applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="PriceBook" >
<param name="requiredFXVersion" value="2.2+"/>
</applet-desc>
<jfx:javafx-desc width="800" height="600" main-class="com.mycompany.PriceBook" name="PriceBook" />
<update check="background"/>
</jnlp>

There's another thread 2361562 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 ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2013
Added on Mar 23 2013
1 comment
508 views