Bug 8528

Summary: No mime type info for .jar files
Product: Mageia Reporter: Daniel Osmari <danielosmari>
Component: RPM PackagesAssignee: D Morgan <dmorganec>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal    
Version: 3   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: java-1.7.0-openjdk-1.7.0.6-2.3.3.1.mga2.src.rpm CVE:
Status comment:

Description Daniel Osmari 2012-12-27 23:39:39 CET
Description of problem:

The java package installs the java interpreter that can run .jar files. But it installs no .desktop file that would let the user run the jar file (by double clicking for example); the default action is to open it with some archiver application like file-roller.

Java Web Start applets on the other hand already have the proper mime to run them by double-clicking.


Here's a java.desktop file that works:

--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
[Desktop Entry]
Name=Java Runtime
Comment=Java Application Launcher
Exec=/usr/bin/java -jar %f
Icon=java
Terminal=false
Type=Application
NoDisplay=true
Categories=Java;System;
MimeType=application/x-java-archive;
-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8--

Other than setting "Categories" according to whatever is Mageia's policy, this can be directly copied to /usr/share/applications.
Manuel Hiebel 2012-12-28 17:59:53 CET

Assignee: bugsquad => dmorganec

Comment 1 Manuel Hiebel 2013-10-22 12:10:46 CEST
This message is a reminder that Mageia 2 is nearing its end of life.
Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life.  If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete.

-- 
The Mageia Bugsquad
Daniel Osmari 2013-10-22 19:37:28 CEST

Version: 2 => 3

Comment 2 Marja Van Waes 2015-03-31 16:03:59 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD