Page 1 of 3

Java on bubba

Posted: 29 Jan 2007, 04:36
by msx
so anyone managed to get java running on bubba? any hint?

Posted: 29 Jan 2007, 07:11
by lelle
Blackdown seems to have older versions (like 1.1.8, 1.3.1, etc) for ARM9.

I haven't tried it myself though.

You can download it from http://www.mirrorservice.org/sites/ftp. ... 1/arm/rc1/

Posted: 29 Jan 2007, 13:47
by tor
Hi,

To add to lelles comments

You could also look into sablevm which is available packaged in debian. And as a note it might also be possible to use GCCs GCJ and perhaps crosscomplie your application and then run it on Bubba byt that could be quite some work to get up and running.

/Tor

Posted: 07 Jun 2007, 10:56
by tor
An interesting Java implementation to test could be CACAO, http://www.cacaojvm.org/ Which recently did a release with a ARM JIT implementation.

/Tor

Posted: 08 Jun 2007, 03:34
by msx
Very interesting.. from the FAQ it says it runs 1.5 bytecode and some of the features of 1.5.
I'll try it asap (and report here of course) :)

Information from Sun

Posted: 18 Jul 2007, 17:51
by wmnelis
I have been looking into getting a java environment set up on my Bubba since day 1. I have found this information:

http://java.sun.com/javase/embedded/

It looks like Sun supports Java Standard Edition on ARM, but they may charge money for it. Hope this is helpful to someone. I will continue to search.

Posted: 19 Jul 2007, 09:35
by msx
hi, interesting page. But i can't see ARM mentioned here. Where did you see it?
Anyway for the rest it looks fitting. It talks about devices with 32 MB of ram..
Download should be free, deployment is not.

Posted: 19 Jul 2007, 09:36
by msx
btw i tested CACAO as reported by tor but was unable to make it run..

Posted: 23 Jul 2007, 16:58
by Tompa
I downloaded an evaluation release of the J2SE (1.4.2) using the link you provided wmnelis, but I haven't been able to install and run it (maybe because my lack of linux experience).

Has anyone been able to install and run those libraries successfully?

Posted: 24 Jul 2007, 03:50
by msx
i've tried it too. it didn't worked: it gives an error when executed, resolving library. Looks like some wrong version of gcc or some other stuff.
I'll paste the correct error here this evening.

Posted: 24 Jul 2007, 04:42
by sc0rp
msx wrote:i've tried it too. it didn't worked: it gives an error when executed, resolving library. Looks like some wrong version of gcc or some other stuff.
I'll paste the correct error here this evening.
Something like this?

Code: Select all

dl failure on line 765Error: failed /tmp/j2re1.4.2/lib/arm/client/libjvm.so, because /tmp/j2re1.4.2/lib/arm/client/libjvm.so: symbol __divdf3, version GCC_3.0 not defined in file libgcc_s.so.1 with link time reference

Posted: 24 Jul 2007, 06:58
by tor
Hi,

I also downloaded the Sun evaluation JRE. And the reason for it not to work is most likely due to Bubba having a little to old libc. In the readme it says, "Embedded J2SE for Linux ARM requires a 100% Linux compatible operating system version 2.6.8 or later with a glibc version 2.3.3 or later.", Bubba has glibc 2.3.2 :(

/Tor

Posted: 24 Jul 2007, 07:37
by msx
Thanks tor! Anyone tried to upgrade bubba OS, for example with a more recent release of debian or something like Linux from scratch?

Posted: 08 Aug 2007, 05:25
by Tompa
What would happen if one would try to upgrade glibc to a later version? Is that even possible? Would that risk other bubba packages to break?

/Tompa

Posted: 08 Aug 2007, 07:16
by tor
Tompa,

I would say that upgrading glibc should be concidered high-risk. It might work, but most likely it will fail.

/Tor