← Back to team overview

openjdk team mailing list archive

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

 

Public bug reported:

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.

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

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

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


Follow ups

References