Public bug reported:

the apt-* tools thinks the command 'jar' can be found in the
openjdk-7-jdk package...

moses@deunan:~$ jar
The program 'jar' can be found in the following packages:
 * openjdk-6-jdk
 * fastjar
 * gcj-4.4-jdk
 * gcj-4.6-jdk
 * gcj-4.5-jdk
 * openjdk-7-jdk
Try: sudo apt-get install <selected package>

... but it does not get added to the normal $PATH when installed.

moses@deunan:~$ sudo apt-get install openjdk-7-jdk
openjdk-7-jdk is already the newest version.
moses@deunan:~$ which jar || echo "** not found"
** not found
moses@deunan:~$ dpkg -L openjdk-7-jdk |grep /jar$
/usr/lib/jvm/java-7-openjdk-i386/bin/jar

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: openjdk-7-jdk 7~b147-2.0-0ubuntu0.11.10.1
ProcVersionSignature: Ubuntu 3.0.0-15.26-generic-pae 3.0.13
Uname: Linux 3.0.0-15-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed Jan 25 16:16:16 2012
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: openjdk-7
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (103 days ago)

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


** Tags: apport-bug i386 oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/921831

Title:
  command 'jar' is missing

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to