zafena development

August 21, 2008

OpenJDK6 got sucessfully compiled using CACAO JIT jvm for ARMv5tejl EABI softfloat using the Icedtea6 buildsystem! This compile was made using mercurial sources, Icedtea6 changeset: 1013:a469b20018d9 and CACAO changeset: 8656:140bc48ab360.

Icedtea is served!

java version “1.6.0_0″
OpenJDK Runtime Environment (build 1.6.0_0-b11)
CACAO (build 1.1.0pre, JIT mode)

The footprint of the compiled CACAO/OpenJDK6 j2re-image is 84mb.
I look forward to the next CACAO release “1.0.0″ and expect it to be a smasher for embedded ARM java developement! The release fixes some rather tricky bugs PR84 and PR99 found in CACAO 0.99.3 that could trigger sporadic crashes during the OpenJDK class compilation and when running java programs on ARM systems.

Some output from the running jvm.
For some reason red and blue gets swapped when running on my ARM displays framebuffer, red and blue looks fine if i run applications remote using “ssh -X”.

The best of enterprise business applications OneSlime on arm!


Voxel speedtest.

5 Comments »

  1. Hi there,

    I’ve tried to find debian and rpm distributions for OpenJDK and OpenJDK classpath with Cacao. I found that all of the distributions have all the binaries except for ‘java’ to execute Java program for ARM devices. Where can we actually get this from? Thanks in advance.

    Comment by Azrinsyah Mirza Asfian — December 18, 2008 @ 12:45

  2. Hi!
    Debian for ARM exists in two versions one called “arm” using OABI and one called “armel” using EABI both are for the same kind of ARM CPU’s yet they differ in the way the registers inside the ARM cpu are used when performing linux kernel systemcalls. Debian “armel” using EABI is a lot faster doing floatingpoint calculations than “arm”, due to this all linux ARM developers are working on getting the EABI “armel” systems to replace the old OABI “arm” distributions. OABI “arm” distributions are not actively supported by the developers. Thats why you can’t find any binarys for “arm” since all the binarys exists only for “armel”!

    The first catch when installing OpenJDK for ARM is that OpenJDK binarys only exist on the “armel” version.
    The second catch is that the binarys are so new they only exist in Debian lenny (the next debian release currently in testing) for OpenJDK with zero and Debian sid (sid is the experimental unstabel debian version) for OpenJDK with cacao.

    The binarys for ARM using EABI can be downloaded from:
    http://packages.debian.org/en/lenny/armel/openjdk-6-jre/download
    http://packages.debian.org/en/sid/armel/cacao-oj6-jre/download

    Cheers and have a great day!

    Comment by xerxes — December 18, 2008 @ 13:09

  3. If you are using a OABI arm system and want to run java applications on it then the only current option is to use Classpath with a JVM like GCJ’s GIJ or JamVM instead of OpenJDK.

    These binarys for all ARM systems can be downloaded from:
    http://packages.debian.org/en/etch/java-gcj-compat
    or
    http://packages.debian.org/en/etch/jamvm

    You can then run java programs using Classpath + GIJ or jamvm using the java command.

    Comment by xerxes — December 18, 2008 @ 13:32

  4. This is a great month!
    Robert Schuster, Ken Gilmer and Sebastian Mancke have successfully crosscompiled OpenJDK for ARM!

    This will make it possible to provide OpenJDK to all openembedded linux distributions running on home routers NAS drives and more. A great leap for embedded Java on ARM!

    http://rschuster.blogs.evolvis.org/2008/12/21/serving-cross-compiled-openjdk-with-icedtea/

    Check out Roberts answers to the question section as well!
    http://rschuster.blogs.evolvis.org/2008/12/23/comments-on-latest-post-on-openjdk/

    Comment by xerxes — December 22, 2008 @ 01:54

  5. [...] have been following CACAO development on ARM since 2008, back then CACAO was one of the first alternative JVM, to be used instead of Hotspot, that could be [...]

    Pingback by zafena development » Carpe diem CACAO JVM! — December 2, 2011 @ 16:51

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress