Helma Logo
main list history
previous version  overview  next version

Version 1 by hannes on 06. October 2009, 08:23

[OpenJDK], which is the default Java implementation on various Linux distributions, has a long-standing [bug] that makes it difficult to run other versions of [Mozilla Rhino] than the one shipped with the distribution.

[OpenJDK]: http://openjdk.java.net/
[bug]: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=179
[Mozilla Rhino]: http://www.mozilla.org/rhino/

Helma NG relies on a more recent version of Rhino including, among other things, features of [JavaScript 1.8] and [EcmaScript 5]. Although recent snapshots of Helma NG include workarounds for this bug, it is still possible you may encounter problems when running Helma NG with OpenJDK.

[JavaScript 1.8]: https://developer.mozilla.org/En/New_in_JavaScript_1.8
[Ecmascript 5]: http://wiki.ecmascript.org/doku.php?id=es3.1:es3.1_proposal_working_draft

In this case, you may consider switching to a different Java implementation. For example, to install Sun's version of Java and make it the default on Ubunutu 9.04 (Jaunty Jackalope), use the following commands:

    sudo aptitude install sun-java6-jdk
    sudo update-java-alternatives -s java-6-sun

You should now have the official Sun JDK installed as default Java implementation.