OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ostense on January 08, 2004, 10:39:50 am

Title: The blackdown port of java 1.3 to arm
Post by: ostense on January 08, 2004, 10:39:50 am
Has anybody try\'ed out the port of java 1.3 to arm with the X11 rom?

You can get it here:        ftp://yrls.net/pub/blackdown/ (http://ftp://yrls.net/pub/blackdown/)

Or  has anybody tested other JVM\'s  under the X11 rom ?
Title: The blackdown port of java 1.3 to arm
Post by: ced on January 08, 2004, 11:02:35 am
what\'s the difference with this version found on the blackdown mirror list?

ftp://ftp.mirror.ac.uk/sites/ftp.blackdow...-1.3.1/arm/rc1/ (http://ftp://ftp.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.3.1/arm/rc1/)
Title: The blackdown port of java 1.3 to arm
Post by: ced on January 08, 2004, 12:21:16 pm
ok this is for XScale processor...

on my system (SL-5600, 1.32 ROM), it\'s complaining about glibc 2.3. I think I\'ve got glibc 2.2.2 (in /lib/libc.so.6).
where can I download this lib?
Title: The blackdown port of java 1.3 to arm
Post by: offroadgeek on January 08, 2004, 12:51:43 pm
Quote
on my system (SL-5600, 1.32 ROM), it\'s complaining about glibc 2.3. I think I\'ve got glibc 2.2.2 (in /lib/libc.so.6).
where can I download this lib?

I don\'t know exactly what version this is... but this glib is found on the cacko.zaurususergroup.com site (http://cacko.zaurususergroup.com/ipk_feed.php?menuid=&getfile=glib_1.2.10_arm.ipk&ipkname=glib)
Title: The blackdown port of java 1.3 to arm
Post by: ppfundst on January 16, 2004, 11:21:07 am
Hi there!

With the blackdown jre referenced above, command line apps work fine! That is great.

However if I try to create a simple swing application like the one found on the sun\'s tutorial, I am having this library missing, any idea where to get it?

# java SwingApplication
Exception in thread \"main\" java.lang.UnsatisfiedLinkError: /home/root/j2re1.3.1/lib/armv4l/libfontmanager.so: libstdc++-libc6.2-2.so.3: cannot load shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
...

Thanks!

Pat
Title: The blackdown port of java 1.3 to arm
Post by: ced on January 16, 2004, 11:43:13 am
which ROM do you use?
Title: The blackdown port of java 1.3 to arm
Post by: ppfundst on January 19, 2004, 04:23:09 am
I am using Cacko\'s rom on a SL-860.
Title: The blackdown port of java 1.3 to arm
Post by: ckeswani on January 19, 2004, 08:19:15 am
I\'ve had a similar issue on a whitebox running RedHat Enterprise 3.0 and the fix was to install  compat_libstdc++.  It seems that certain symbols that java assumes exist are not in the kernel headers.  Not sure if you can find this lib for the zaurus, but it fixed the problem on my whitebox.
Title: The blackdown port of java 1.3 to arm
Post by: ppfundst on January 20, 2004, 05:07:47 am
I made a few researches, and libstdc++ seems to be shipped as part of gcc. So I guess I have to install the complete zgcc locally on the zaurus. For this I tried to follow cacko\'s instrcution:

On cacko\'s site, to install the zgcc3.3.1 on the zaurus, it is just mentionned that you have to put the zgcc3.3.1.img at /home/root and restart the zaurus and install the necessary kernel headers from the feed.

I put my zgcc3.3.1.img at /home/root and reboot and this produced no noticable effect. How do you decompress a .img? Also what package needs to be installed after this?

Any body has a clue?

Thanks!

-------------------------
Cacko\'s rom on a 760 with 860 rom.
Title: The blackdown port of java 1.3 to arm
Post by: ckeswani on January 20, 2004, 07:58:43 am
You can convert  a .img  with the following free download:
http://download.com.com/3000-2646-10191803.html (http://download.com.com/3000-2646-10191803.html)
Title: The blackdown port of java 1.3 to arm
Post by: ppfundst on January 20, 2004, 08:49:29 am
Thanks will give it a try!
Title: The blackdown port of java 1.3 to arm
Post by: ppfundst on January 23, 2004, 10:36:34 am
ok,
the isomagic site mentionned in the above post is down and the download.com download does not work. I have been trying for 3 days now.
Would somebody have a copy of the utility or even better, provide a .tgz or .zip of the content of this zgcc3.3.1.img?
You could email it at pat at monmien dot com. Make sure to mention Zaurus User Group in the subject as I receive a lot of spam.
Any other way to have this zgcc3.3.1.img file content is fine of course.

Just let me know, I am stuck right now.

Thanks!
Title: The blackdown port of java 1.3 to arm
Post by: ckeswani on January 25, 2004, 11:11:09 am
You can download isomagic at
http://www.361consulting.com/361/programmi...up_MagicISO.exe (http://www.361consulting.com/361/programming/Setup_MagicISO.exe)
Title: The blackdown port of java 1.3 to arm
Post by: ppfundst on January 26, 2004, 04:52:46 am
Thanks! Somebody send me the file. I will give it a try and let you know.

Thanks again!

pat
Title: The blackdown port of java 1.3 to arm
Post by: ckeswani on January 27, 2004, 08:45:11 am
I\'ve removed the isomagic setup from 361consulting.  post if you need it back.
Title: The blackdown port of java 1.3 to arm
Post by: ced on January 28, 2004, 03:57:24 am
anyone try this JVM on the sharp rom?
Title: The blackdown port of java 1.3 to arm
Post by: ced on January 28, 2004, 08:18:11 am
with this xserver http://sourceforge.jp/projects/xqt/ (http://sourceforge.jp/projects/xqt/) then graphical application will possible with this JVM on the sharp rom.

I can\'t run this JVM due to a glibc version issue. The sharp rom uses glibc 2.2.2 and this backdown JVM has been compiled with glibc 2.3. The glibc files are installed in the read only file system so I can\'t change it...

any idea how to fix this issue?
Title: The blackdown port of java 1.3 to arm
Post by: Anonymous on January 28, 2004, 12:36:28 pm
ppfundst, you can get the libstdc++ library from the familiar v0.6.2 distribution -] http://familiar.handhelds.org/familiar/rel...07-fam1_arm.ipk (http://familiar.handhelds.org/familiar/releases/v0.6.2/base/armv4l/libstdc++2.10-glibc2.2_2.95.4-0.010407-fam1_arm.ipk)

Also, I\'ve installed the X libraries from the familiar distribution to my sharp rom.
I\'m using the non Xscale blackdown version and I\'m getting a core dump when I\'m running an AWT application.

Let me know of your progress with the Xscale blackdown JVM and your X11 rom.
Title: The blackdown port of java 1.3 to arm
Post by: ppfundst on February 02, 2004, 08:49:46 am
Hi Guest!

Thanks for the tip. I have installed Cacko\'s Qtopia ROM right now, for testing. I will reinstall the X11 rom, as it is the one I want to stay with.
I am actually waiting for the doc of Laze ( http://www.zaurususergroup.com/index.php?n...1285&highlight= (https://www.oesf.org/forums/index.php?showtopic=1285&highlight=) )   regarding how to setup a development box before going back to this issue, as I am sure that this will be needed at some point! (and I would like to contribute to!).

Let\'s keep on exchanging information! Swing apps on the Zaurus (or native apps with java-gnome)... That would be a seller!!

Let me know!

Best regards,

Patrick
Title: The blackdown port of java 1.3 to arm
Post by: arroc on February 10, 2004, 11:35:21 am
I have been running Swing apps without any problems so far. I had success with Cacko version 0319241203 running on a C760
Here\'s what I did:

download blackdown\'s arm version of J2SE 1.3.1
decompress the blackdown archive in /home/root/usr/local
run \'uname -m\' to determine the machine hardware name
Blackdown expects \'armv4l\' as hardware name, in my case the one that \'uname -m\' returned was \'armv5tel\'. In order to fix that i had to add the following symbolic links:
   ln -s /home/root/usr/local/j2re1.3.1/bin/armv4l /home/root/usr/local/j2re1.3.1/bin/armv5tel
   ln -s /home/root/usr/local/j2re1.3.1/lib/armv4l /home/root/usr/local/j2re1.3.1/lib/armv5tel
now you need to install the following additional libraries: libBrokenLocale.so libXm.so libXp.so libstdc++-libc6.2-2.so.3      
the first 3 can be found in additional-ipaq-stuff.tar.gz on blackdown\'s website
I got libstdc++ from here ( http://intimate.handhelds.org/installer/so...-libc6.2-2.so.3 (http://intimate.handhelds.org/installer/sound/player/libstdc++-libc6.2-2.so.3) )
you can copy the libraries in any directory, you\'ll have to add the directory path to /etc/ld.so.conf
then execute ldconfig
now you can add /home/root/usr/local/j2re1.3.1/bin to the path
Title: The blackdown port of java 1.3 to arm
Post by: DnK on February 12, 2004, 04:07:34 am
Didn\'t get if you are using an X11 rom or Cacko Qtopia rom?
Title: The blackdown port of java 1.3 to arm
Post by: arroc on February 12, 2004, 07:41:51 pm
I am using cacko x11
Title: The blackdown port of java 1.3 to arm
Post by: ostense on February 16, 2004, 10:38:58 am
Thank you arroc  for such detailed information!  Full java support on the Zaurus is magic !!!!  Have you tested the performance?
Title: The blackdown port of java 1.3 to arm
Post by: arroc on February 17, 2004, 11:28:22 pm
I\'m running some pretty heavy stuff: a lot of xml/xpath processing, jakarta\'s jelly scripts, etc, so my expectations were pretty low. I was however pleasently suprised with the overall performance. Swing however seems a bit sluggish. My Swing GUI consisted of several tabs, several JTrees and an ink component. I did also tried it with a preemptive/overclocking kernel, but I didn\'t notice a big difference.
I will investigate the performace issue further.
Title: The blackdown port of java 1.3 to arm
Post by: ced on February 19, 2004, 10:06:23 am
I\'ve runned the xengine for java with the following:
   - with evm -] ~50 rpm
   - with blackdown jre 1.3.1 (normal ARM version) + Xqt -] ~24 rpm

...just to test the Xqt server, I\'ve runned the xengine for X and I get around 740 rpm using the Special Kernel.

I haven\'t tryied the blackdown Xscale version because I haven\'t got glibc 2.3.x. Can someone give me some stats with the Xscale version?
Title: The blackdown port of java 1.3 to arm
Post by: ced on February 24, 2004, 05:22:43 am
I\'ve installed OZ 3.3.6pre1 with the Xqt installed with compatible libs.

I\'ve tried to run an awt application using the blackdown Xscale JVM version and I receive a \"R_ARM_PC24 relocation out of range\" error when Java attempts to load libawt.so.
Title: The blackdown port of java 1.3 to arm
Post by: alterna on November 08, 2004, 01:16:56 pm
Hi guys

Could one of you try to download the java program www.cryptoheaven.com and test it as it is based on J2SE 1.3
 I would like to know if it works before buying Zaurus

Thanks
Title: The blackdown port of java 1.3 to arm
Post by: scoutme on November 08, 2004, 01:58:27 pm
I'd like to have full java support, even in browsers, on my pdaXrom machine.
Any 1.4 jre support?
Title: The blackdown port of java 1.3 to arm
Post by: mr596 on November 09, 2004, 11:36:34 am
Does this work with pdaXrom RC5 with the new floating point stuff?   This is precompilled and presumabally assumes either a FPU or exception based FPU emulation rather then the netwider libraries?

If this is the case could we keep the exception handling in the pdaXrom Kernel.  Then any precompilled programs with no external floating point library support could fall back on the (much) slower exception based emulation and recompilled software could use the fast emulation.