This is the mail archive of the
mailing list for the eCos project.
Re: [ECOS] Implementing JVM for ecos
- From: Chris Gray <chris dot gray at kiffer dot be>
- To: Saurabh Agarwal <saurabhagarwal1981 at gmail dot com>, ecos-devel at sources dot redhat dot com, ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 12 Jul 2004 10:07:06 +0200
- Subject: Re: [ECOS] Implementing JVM for ecos
- Organization: /k/ Embedded Java Syste;s
- References: <firstname.lastname@example.org>
On Monday 12 July 2004 06:58, Saurabh Agarwal wrote:
> Hi all,
> I just heard from thje mailing list itself that JVM is not implemented
> in ecos and in todays scenario as j2me is at peak i think it will be
> quite nice to implement jvm on ecos.
Then you're not paying attention. :) At least Wonka and Kaffe have been ported
to eCos. The Wonka port was working on StrongARM, but will need some work to
get it to build because some internal APIs have changed a bit; plus Wonka
currently assumes an MMU in the way it manages its heap. I know it's possible
to remove the dependency on MMU because I've done it. :) Last year an Italian
student called Andrea Scian was working on Wonka-arm7-eCos, but I'm not sure
what she finally achieved. Kaffe on eCos exists for Hitachi architecture, so
you should be able to get that working in ARM7 too.
There are several other open-source VMs, but I don't know how easy they will
be to port to eCos and to MMU-less systems; for example some VMs use the MMU
to detect NullPointerException.
As far as J2ME is concerned, Wonka aims at J2ME CDC; so far as I am aware all
other open-source VMs are J2SE, so for embedded devices some degree of
stripping-down will be necessary. I don't know of any open source VM
targeting J2ME CLDC.
> So I want to implement JVM in ecos if anybody have any pointers
> relating to implementing jvm and want to help we can look toward it.
> Any participants are invited.
Kaffe: http://www.kaffe.org, and http://sourceforge.jp/projects/kaffe-ecos/
For a list of other open-source VMs see http://www.gnu.org/software/classpath/
Chris Gray /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi http://www.kiffer.be/k/
email@example.com +32 3 216 0369