Helma Logo
main list history

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

1[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.
3[OpenJDK]: http://openjdk.java.net/
4[bug]: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=179
5[Mozilla Rhino]: http://www.mozilla.org/rhino/
6
7Helma 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.
8
9[JavaScript 1.8]: https://developer.mozilla.org/En/New_in_JavaScript_1.8
10[Ecmascript 5]: http://wiki.ecmascript.org/doku.php?id=es3.1:es3.1_proposal_working_draft
11
12In 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:
13
14    sudo aptitude install sun-java6-jdk
15    sudo update-java-alternatives -s java-6-sun
16
17You should now have the official Sun JDK installed as default Java implementation.