Porting OpenJDK to ARMEL

Andrew Haley aph at redhat.com
Wed Apr 23 05:41:30 PDT 2008

alvim at stud.ntnu.no wrote:

> I'm trying do port OpenJDK to an ARMEL device, more known as Nokia N810
> with Maemo os2008.
> While doing this I am running into a lot of dependencies. Have managed
> to install some of those manually, but I am not in goal with this
> project yet.
> As you see below, I am using the Scratchbox as an development environment.
> Anyone who knows how this can be done in an easy an convenient way?

You're going to have trouble.

1.  OpenJDK is not set up to cross-compile. 
    It builds its tools natively.  Fixing this would be nice, but a
    huge task.

2.  Assuming you're happy to use the C++ interpeter, it should already
    build on ARM if you're using the IcedTea build harness.

3.  Although I can get it to build, and it does work, it still
    doesn't run stably.  I don't know why this is.

Did you want to do a real port, with a template interpreter, or a
JIT, or did you just want the C++ interpreter?


More information about the porters-dev mailing list