openjdk-7-jre-headless does not configure Rhino interpreter properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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/
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/
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-
/usr/lib/
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://
100 /var/lib/
apt-cache policy openjdk-
openjdk-
Installed: 7~b147-2.0-1ubuntu2
Candidate: 7~b147-2.0-1ubuntu2
Version table:
*** 7~b147-2.0-1ubuntu2 0
500 http://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.