← Back to team overview

openjdk team mailing list archive

[Bug 1878332] [NEW] Desktop entry Exec command does not launch .jar's correctly

 

Public bug reported:

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)

** Affects: openjdk-lts (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/1878332

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

Status in openjdk-lts package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1878332/+subscriptions