shortcuts created by java web start stop working after every java update

Bug #669234 reported by Sannie Kwakman on 2010-10-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)

Bug Description

Binary package hint: sun-java6-bin

When a Java Webstart application is installed in Ubuntu, a shortcut may be created on the desktop. This shortcut links to the javaws executable like this:
/usr/lib/jvm/java-6-sun- [lots of parameters]

This shortcut links to the version-specific path of javaws. When the Java package gets a security update this path changes, disabling all webstart shortcuts.

- User visits, selects 'Droid Assault' and clicks 'download demo'
- A .jnlp file is offered to Firefox, Firefox responds by offering the default 'open with..' action ('Open with Java Webstart')
- User plays game. Java Webstart will also place a shortcut on the user's Desktop (due to a bug in javaws this shortcut is not given the 'executable' flag, so it won't have an icon until the user manually set the flag.).
- Viewing the properties of the shortcut, notice that the command field is set to a version-specific directory.

Suggestion for a fix:
Change both the .jnlp application binding and the shortcuts to the Java Plugin Control Panel in System -> Preferences to /usr/lib/jvm/java-6-sun will create shortcuts that point to a directory that will always contain the last sun jre and survives updates.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers