command 'jar' is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: openjdk-7-jdk 7~b147-
ProcVersionSign
Uname: Linux 3.0.0-15-
NonfreeKernelMo
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)
Status changed to 'Confirmed' because the bug affects multiple users.