openjdk-6-javaws.desktop should point to javaws in /etc/alternatives

Bug #520711 reported by Nicolás Lichtmaier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-common (Ubuntu)
New
Undecided
Unassigned
openjdk-6 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The package install javaws as an alternative, yet in the desktop file the non-alternative version is used.

Exec=/usr/lib/jvm/java-6-openjdk/bin/javaws %u

should be changed to either...

Exec=/usr/bin/javaws %u

or

Exec=/etc/alternatives/javaws %u

Revision history for this message
Matthias Klose (doko) wrote :

I don't think so. the desktop file is called openjdk-6-javaws, and shouldn't use anything which is provided by another package.

Revision history for this message
Nicolás Lichtmaier (niqueco) wrote :

So you are breaking the alternatives system. What's the point in calling a binary the user has expressed explicitly he don't want?

In any case, provide a javaws.desktop in common package (¿java-common?) which does this, at least.

Matthias Klose (doko)
Changed in openjdk-6 (Ubuntu):
status: New → Invalid
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.