Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

bryanwb edited this page · 13 revisions

TODO

  • Complete Rhino Binary module and tests
  • Cleanup logging in narwhal.js, sandbox.js, etc
  • Windows support, with and without cygwin
  • Split tests into separate repo with ServerJS specs
  • Separate all non-essential platforms into separate repos, like jsc, v8, and johnson currently are.

OpenJDK bug and Installing on Ubuntu

For whatever reason, rhino does not work very well with OpenJDK. It is recommended you use the regular [https://dct.sun.com/dct/forms/reg_us_0809_958_0.jsp java 1.5 JDK] from Sun

To use install java 1.5 on Ubuntu 9.04

$ sudo aptitude install sun-java5-jdk

This same package is not in the in Ubuntu repositories for Ubuntu 9.10 so you can trying Sun’s Java 6 JDK which isn’t thoroughly tested w/ narwhal.

$ sudo aptitude install sun-java6-jdk

Make sure you run update-alternatives to choose java6 as explained below.

If you want to use java5 you need to add the old repositories from 9.04 in order to install java5 using aptitude/apt-get
http://ubuntuforums.org/showthread.php?t=1289730

So to get the repo for java5 add these lines to your /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

Then run
$ sudo aptitude update
$ sudo aptitude install sun-java5-jdk

You may want to remove the extra lines from your sources.list after you have finished installing the package.

Next you may need to tell Ubuntu explicitly to use Sun’s JDK
sudo update-alternatives —config java

myuser@myuser:/usr/bin$ sudo update-alternatives —config java

There are at least 2 alternatives which provide `java’.

Selection Alternative

+ * 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java
2 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

Press enter to keep the default[*], or type selection number:


Choose #2

i18n

  • i18n of css
  • i18n of strings in javascript code
  • i18n of strings in html5
Something went wrong with that request. Please try again.