missing openjdk-6-java.desktop file

Bug #946736 reported by Sandra Karuving
80
This bug affects 18 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Fix Released
Medium
Unassigned

Bug Description

Removed due to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658321

----------------------------------------------------------

in oneiric, if your rightclick on a *.jar there is an option to open with java
now on 1204 there isnt an option for ojre6 & 7. after a little research its clear now that the file
/usr/share/applications/openjdk-6-java.desktop is missing ( for openjdk7
/usr/share/applications/openjdk-7-java.desktop too)

now you always have to open a terminal. please restore the missing file

ProblemType: BugDistroRelease: Ubuntu 12.04
Package: openjdk-6-jre 6b24-1.11.1-3ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic-pae 3.2.6
Uname: Linux 3.2.0-17-generic-pae i686
ApportVersion: 1.94-0ubuntu1
Architecture: i386
Date: Mon Mar 5 00:55:24 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120201.1)
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/zshSourcePackage: openjdk-6
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sandra Karuving (lumks) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
noname2 (noname2-deactivatedaccount) wrote :

.desktop files from oneiric modified for precise and openjdk 7

its not perfect, because i dont know how to make it the default handler automatically.

so you have to go to file properties, mark openjdk java 7 runtime and press set as default button

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment ".desktop files from oneiric modified for precise and openjdk 7" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Britt Yazel (bwyazel) wrote :

I too would like to see this fixed. I would like to be able to launch minecraft without the need for opening a terminal.

Revision history for this message
Sandra Karuving (lumks) wrote :

Not related to the bug, but to Britt Yazel for Minecraft there is an install script, that create a menu entry http://code.google.com/p/mineubinst/downloads/list maybe this will help

but youre right - open a jar just like a zip is a nogo for 12.04

Revision history for this message
Nyan Cat (nyancat) wrote :

A small debdiff: http://paste.ubuntu.com/897038/
All .desktop files was deleted from package.
Why?

Revision history for this message
Nyan Cat (nyancat) wrote :

openjdk-7 (7~u3-2.1-1) unstable; urgency=low
[...]
   [ Damien Raude-Morvan ]
   * Merge r501-521 from openjdk6:
     [...]
     - Don't install desktop and menu files for multiarch builds.

source: http://packages.debian.org/changelogs/pool/main/o/openjdk-7/openjdk-7_7~u3-2.1-3/changelog

Changed in openjdk-6 (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Micah Gersten (micahg) wrote :

This was due to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658321
Unfortunately, these files aren't compatible with multiarch and a better solution is needed.

Changed in openjdk-6 (Ubuntu):
status: Confirmed → Triaged
tags: added: regression-release
description: updated
Revision history for this message
Sandra Karuving (lumks) wrote :

So its just because the path in the *.desktop file isnt "multiarchable"? So why not create a *.desktop file without any fixed path, add them to the source package and create the path at packagebilding-time and write them to the *.desktop?

Revision history for this message
Jonah Sabean (jonahsabean-z) wrote :

This bug affects me would like to see it fixed by final release.

Revision history for this message
Jonah Sabean (jonahsabean-z) wrote :

Will this be fixed by 12.04 release?

Revision history for this message
Britt Yazel (bwyazel) wrote :

This bug seems to be fixed. I am now able to right click on .jar files like I used to and launch them with java runtime

Changed in openjdk-6 (Ubuntu):
status: Triaged → Fix Released
Changed in openjdk-6 (Ubuntu Precise):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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