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

Bug #669234 reported by Sannie Kwakman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
New
Undecided
Unassigned

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-1.6.0.22/jre/bin/javaws [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.

Scenario:
- User visits http://www.puppygames.net, 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.