Comment 1 for bug 93885

Revision history for this message
Benjamin C. Wiley Sittler (bsittler) wrote :

i can confirm this in feisty:

$ rhino
Exception in thread "main" java.lang.NoClassDefFoundError: org.mozilla.javascript.tools.shell.Main
   at gnu.java.lang.MainThread.run(libgcj.so.70)
Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.tools.shell.Main not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/js.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.70)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
   at java.lang.ClassLoader.loadClass(libgcj.so.70)
   at java.lang.ClassLoader.loadClass(libgcj.so.70)
   at gnu.java.lang.MainThread.run(libgcj.so.70)
$ unzip -l /usr/share/java/js.jar | fgrep -i tools # no output...
$ apt-cache show rhino
Package: rhino
Priority: optional
Section: interpreters
Installed-Size: 584
Maintainer: Ubuntu Core Developers <email address hidden>
Original-Maintainer: Debian Java Maintainers <email address hidden>
Architecture: all
Version: 1.6.R5-0ubuntu1
Depends: java-gcj-compat | java1-runtime | java2-runtime
Suggests: rhino-doc
Filename: pool/main/r/rhino/rhino_1.6.R5-0ubuntu1_all.deb
Size: 487672
MD5sum: c6ff406eee7b3351d6b1e50d74299559
SHA1: 8e1a96115f0cfc79e803e8aa5b82941ec817d752
SHA256: 4947c8359209281df1f7f53c2bd0277293b1adf49e055370130b19c7e0300bfd
Description: JavaScript engine written in Java
 Rhino is an open-source implementation of JavaScript written
 entirely in Java. It is typically embedded into Java applications
 to provide scripting to end users.
Bugs: mailto:<email address hidden>
Origin: Ubuntu