OpenJDK 6.0 0 (Cambridge Software Labs) on N900
(Cambridge Software Labs) are providing a binary distribution of OpenJDK 1.6.0_0 optimized for ARM processors. At first glance it works quite well on N900. However, it is only recommended for experienced users. If you don't know how to use the console or generally what you're doing, you might possibly destroy your filesystem.
Installation instructions, you need to be root and have ssh-access to your N900:
Download the following files
Extract the two files, merge them into one directory and re-package them:
$ mkdir OpenJDK-camswl $ cd OpenJDK-camswl $ tar jxf ../j2re.tar.bz2 $ tar jxf ../j2sdk.tar.bz2 $ mv j2re-image/ j2sdk-image/jre $ mv j2sdk-image/* . $ rmdir j2sdk-image/ $ cd .. $ tar zcf OpenJDK-camswl.tar.gz OpenJDK-camswl/
Or download the result of these operations from this site
Copy the resulting file to your N900 and extract it in /opt
$ scp OpenJDK-camswl.tar.gz root@10.0.23.42:/opt $ ssh root@10.0.23.42 # cd /opt # tar zxf OpenJDK-camswl.tar.gz # chown -R user:users OpenJDK-camswl
Finally, place some symbolic links in order to be able to call java and javac from everywhere
# ln -s /opt/OpenJDK-camswl/bin/java /usr/local/bin/ # ln -s /opt/OpenJDK-camswl/bin/javac /usr/local/bin/
Try it out!
# su user $ java -version java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.5) (6b16~pre4-0ubuntu2) OpenJDK Zero VM (build 14.0-b15, interpreted mode)
This distribution of OpenJDK was tested successfully with:
Screenshots:
- This page was last modified on 30 April 2010, at 07:38.
- This page has been accessed 18,966 times.