← Back to team overview

openjdk team mailing list archive

[Bug 921831] Re: command 'jar' is missing

 

-- 
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:
  New

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