Java JAR files are opened in file-roller instead of Java Runtime (remove application/x-jar=file-roller.desktop from /etc/gnome/defaults.list)

Bug #1245874 reported by Mantas Kriaučiūnas on 2013-10-29
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
desktop-file-utils (Baltix)
High
Mantas Kriaučiūnas
desktop-file-utils (Ubuntu)
Low
Unassigned
Saucy
Low
Unassigned

Bug Description

* Impact:
Java JAR files are opened in file-roller instead of Java Runtime Environment

* Steps to reproduce:
Install JRE, for example Oracle Java7
In File manager (nautilus) click on Jar file, for example download Minecraft.jar file from https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar

Actual result:
minecraft.jar file is opened in file-roller instead of Java Runtime Environment (but Java Runtime Environment can be choosed by right-click->Open With->Java7 Runtime)

Expected result:
.jar file should be opened in Java Runtime

* Regression potential:
verify that clicking on java types in nautilus works as it should

Changed in desktop-file-utils (Baltix):
status: New → Confirmed
assignee: nobody → Mantas Kriaučiūnas (mantas)
importance: Undecided → High
Changed in desktop-file-utils (Baltix):
status: Confirmed → Fix Committed
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, dropping the lines isn't exactly correct since without a default any of the handlers can be used. Which means that for e.g "application/x-java-archive", file-roller could still be used.

I'm doing an upload with uses openjdk-7-java.desktop as default for those

Changed in desktop-file-utils (Ubuntu):
importance: Undecided → Low
status: New → In Progress
Changed in desktop-file-utils (Ubuntu Saucy):
importance: Undecided → Low
status: New → In Progress
Changed in desktop-file-utils (Ubuntu):
status: In Progress → Fix Committed
description: updated
Sebastien Bacher (seb128) wrote :

I've uploaded the fix to saucy, it's waiting on SRU review next:
https://launchpad.net/ubuntu/saucy/+queue?queue_state=1&queue_text=desktop-file-utils

Hello Mantas, or anyone else affected,

Accepted desktop-file-utils into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/desktop-file-utils/0.21-1ubuntu3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in desktop-file-utils (Ubuntu Saucy):
status: In Progress → Fix Committed
tags: added: verification-needed
Sebastien Bacher (seb128) wrote :

I can confirm that the changes does what it's supposed to do

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package desktop-file-utils - 0.21-1ubuntu3

---------------
desktop-file-utils (0.21-1ubuntu3) saucy; urgency=low

  * debian/defaults.list: use jre as default for java runtime (lp: #1245874)
 -- Sebastien Bacher <email address hidden> Mon, 04 Nov 2013 11:56:46 +0100

Changed in desktop-file-utils (Ubuntu Saucy):
status: Fix Committed → Fix Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

summary: - Java JAR files are opened in file-roller instead of Java Runtime (remove
- application/x-jar=file-roller.desktop from /etc/gnome/defaults.list)
+ [SRU] Java JAR files are opened in file-roller instead of Java Runtime
+ (remove application/x-jar=file-roller.desktop from
+ /etc/gnome/defaults.list)
tags: added: trusty
removed: verification-done
summary: - [SRU] Java JAR files are opened in file-roller instead of Java Runtime
- (remove application/x-jar=file-roller.desktop from
- /etc/gnome/defaults.list)
+ Java JAR files are opened in file-roller instead of Java Runtime (remove
+ application/x-jar=file-roller.desktop from /etc/gnome/defaults.list)
tags: removed: trusty
Changed in desktop-file-utils (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers