openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #08758
[Bug 921831] Re: command 'jar' is missing
(didn't see the request for more information, but did see the expiry
notice. weird.)
"did you mess around with manual symlinks yourself?"
After I attempted to fix the problem with multiple installs of the packages suggested, I made a symlinks in /usr/local/bin/. I should hope that making a symlink in /usr/local/bin/ would not demolish the /etc/alternatives/ ecosystem.
Upgraded to 12.10 since this bug was filed. I had four alternatives for '/usr/bin/jar' after upgrading to 12.10.
Wiped them all out, removed the /usr/local/bin/ symlink. Reinstalled package 'openjdk-7-jdk' and dependencies (not recommendations nor suggestions).
$ update-alternatives --list jar
/usr/lib/jvm/java-7-openjdk-i386/bin/jar
Please mark this issue as obsolete/ already fixed.
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/921831
Title:
command 'jar' is missing
Status in “openjdk-7” package in Ubuntu:
Expired
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/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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/921831/+subscriptions
References