openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #07937
[Bug 920214] Re: openjdk-7-jre-headless does not configure Rhino interpreter properly
Fixed since 7~u3-2.1.1~pre1-1ubuntu2 upload.
** Changed in: openjdk-7 (Ubuntu)
Status: Confirmed => Fix Released
--
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/920214
Title:
openjdk-7-jre-headless does not configure Rhino interpreter properly
Status in “openjdk-7” package in Ubuntu:
Fix Released
Bug description:
The OpenJDK 7 JRE headless package does not configure the Rhino
interpreter for use with JSR223 interface. (Presumably, it is not on
the classpath.)
To test: Use the Jrunscript tool from the JDK (install openjdk-7-jdk),
run: /usr/lib/jvm/openjdk-7-jdk/bin/jrunscript -q
Expect:
It should output a list of installed JSR223 interpreters, one of which is the Mozilla Rhino JavaScript interpreter:
Got:
Nothing.
For a comparison here is what an old SUN Java 6 JDK installation reports:
Run: /usr/lib/jvm/java-6-sun/bin/jrunscript -q
Language ECMAScript 1.6 implemention "Mozilla Rhino" 1.6 release 2
---------------
Note that the Mozilla Rhino interpreter is definitely shipped with the
OpenJDK 7 JRE headless package:
dpkg -L openjdk-7-jre-headless |grep rhino
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar
System info:
lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
apt-cache policy openjdk-7-jdk
openjdk-7-jdk:
Installed: 7~b147-2.0-1ubuntu2
Candidate: 7~b147-2.0-1ubuntu2
Version table:
*** 7~b147-2.0-1ubuntu2 0
500 http://main.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy openjdk-7-jre-headless
openjdk-7-jre-headless:
Installed: 7~b147-2.0-1ubuntu2
Candidate: 7~b147-2.0-1ubuntu2
Version table:
*** 7~b147-2.0-1ubuntu2 0
500 http://main.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/920214/+subscriptions
References