Desktop entry Exec command does not launch .jar's correctly

Bug #1878332 reported by Lithi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-lts (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Exec=cautious-launcher %f /usr/bin/java -jar

This is not launching jars correctly.

Says "/usr/bin/java -jar hellofx.jar: '%f' is not executable. Aborting." even though the jar can be run manually with 'java -jar hellofx.jar'

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: openjdk-11-jre 11.0.7+10-3ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Tue May 12 21:44:00 2020
SourcePackage: openjdk-lts
UpgradeStatus: Upgraded to focal on 2020-04-25 (17 days ago)

Revision history for this message
Lithi (lithi) wrote :
Revision history for this message
Lithi (lithi) wrote :

Note that I also tried chmod +x hellofx.jar but still get the same error.

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Unable to reproduce the issue with 11.0.20+8, closing as Invalid.

Changed in openjdk-lts (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.