On Thu, 13 Mar 2003 16:47:56 +0530 S Mohan wrote:

> I want to run a Java App on Bering and build a dedicated, robust embedded
> box for a specific purpose. How do I do this? Is java available as an lrp on
> Bering?

I doubt there are pre-made LEAF packages available, especially if
you want Sun's JRE.  IIRC, Sun's licensing makes redistribution a
pain.

The easiest path might be to use Bering-uclibc + libc225.lrp[1]
+ Sun's JRE binary.  Be prepared though...it's huge:

   You have chosen to download Java(TM) 2 Runtime Environment,
   Standard Edition 1.4.1_02

   * Download j2re-1_4_1_02-linux-i586.bin .
     Filesize = 22,954,988 bytes.

Depending on the apps you want to run, you might be able to get
away with one of the open source VMs like kafee[2].  (I'm pretty
sure there are others, but the names escape me at the moment.)

Another approach, if size is an issue and you don't need the full
J2SE API, would be to use the Micro Edition stuff[3].

There are also compilers, like gcj[4], available that can produce
native machine code.

Good luck.

--Brad


[1] http://cvs.sf.net/cgi-bin/viewcvs.cgi/leaf/bin/bering-uclibc/packages/
[2] http://kaffe.org/
[3] http://java.sun.com/j2me/
[4] http://gcc.gnu.org/java/



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to