[Bug 1273601] Re: openjdk-7-jre-lib : missing file /usr/lib/jvm/java-7-openjdk-common/jre/lib/resources.jar

Adrian Wilkins 1273601 at bugs.launchpad.net
Thu Feb 6 11:14:11 UTC 2014


Have a similar problem with this on 12.04 server :

Have a tomcat app failing to start because of

    java.io.FileNotFoundException: /usr/lib/jvm/java-7-openjdk-
common/jre/lib/ext/pulse-java.jar

The first surprise is why a server install needs the pulseaudio
library... but that aside, the same base cause, there's no java-7
-openjdk-common folder, just the java-7-openjdk-amd64 folder (which does
contain the relevant libraries).

My desktop system doesn't have the java7-openjdk-common folder either.

Is this a packaging problem or a classpath problem?

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

Title:
  openjdk-7-jre-lib : missing file /usr/lib/jvm/java-7-openjdk-
  common/jre/lib/resources.jar

Status in “openjdk-7” package in Ubuntu:
  Confirmed

Bug description:
  I am trying to use Saiku 2.5 with openjdk version 7 on Ubuntu 12.04
  LTS, but it fails.

  I have installed the following packages :

  % dpkg -l|grep openjdk
  ii  openjdk-7-jdk                       7u51-2.4.4-0ubuntu0.12.04.2                  OpenJDK Development Kit (JDK)
  ii  openjdk-7-jre                       7u51-2.4.4-0ubuntu0.12.04.2                  OpenJDK Java runtime, using Hotspot JIT
  ii  openjdk-7-jre-headless              7u51-2.4.4-0ubuntu0.12.04.2                  OpenJDK Java runtime, using Hotspot JIT (headless)
  ii  openjdk-7-jre-lib                   7u51-2.4.4-0ubuntu0.12.04.2                  OpenJDK Java runtime (architecture independent libraries)

  When I run Saiku 2.5, it says :

  ScriptEngineManager providers.hasNext():
  javax.script.ScriptEngineFactory: : java.io.FileNotFoundException:
  /usr/lib/jvm/java-7-openjdk-common/jre/lib/resources.jar (Aucun
  fichier ou dossier de ce type)

  In fact, I don't have a directory /usr/lib/jvm/java-7-openjdk-common
  on my system ; I only have /usr/lib/jvm/java-7-openjdk-amd64

  I searched on packages.ubuntu.com to see which package is supposed to provide the file /usr/lib/jvm/java-7-openjdk-common/jre/lib/resources.jar
  It says that openjdk-7-jre-lib provides this file :
  http://packages.ubuntu.com/precise/all/openjdk-7-jre-lib/filelist

  This package is installed on my system, but the file is not present :

  % dpkg -L openjdk-7-jre-lib                                  
  /.
  /usr
  /usr/share
  /usr/share/lintian
  /usr/share/lintian/overrides
  /usr/share/lintian/overrides/openjdk-7-jre-lib
  /usr/share/doc
  /usr/share/doc/openjdk-7-jre-lib
  /usr/share/doc/openjdk-7-jre-lib/copyright
  /usr/share/doc/openjdk-7-jre-lib/changelog.Debian.gz

  By the way, on a Debian 7 system, the file /usr/lib/jvm/java-7
  -openjdk-common/jre/lib/resources.jar is provided by openjdk-7-jre-lib
  and Saiku 2.5 runs without issues.

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



More information about the foundations-bugs mailing list