Author Topic: Blackdown J2se On Zaurus Sl-c3000  (Read 8080 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Blackdown J2se On Zaurus Sl-c3000
« on: July 14, 2005, 10:22:54 am »
Did anyone try this already?

I downloaded an IPK package which has been designed for the iPaq (from http://www.tml.tkk.fi/~jsantala/feed/ ).

It could not be installed to the SL-C300 with ipkg install, because ipkg tried to install files on on eof the read-only file systems. So I disassembled the package manually with tar.

What I got was mainly a directory

./j2re1.3.1/bin and
./j2re1.3.1/lib

Calling ./j2re1.3.1/bin/java I got
"Error: Can't find libjava.so".

libjava.so is in ./j2re1.3.1/lib/armv4l/libjava.so.

So I linked it to /usr/lib and called ldconfig. but still the same error.

Could anyone please guide me what to do in order to make blackdown J2SE work on the SL-C3000?

Thanks

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Blackdown J2se On Zaurus Sl-c3000
« Reply #1 on: July 15, 2005, 06:11:00 am »
Well, I think I can give you some hints. The first one is "bad news": to my knowledge, you will not be able to run j2se, or, if you are able, please tell me a.s.a.p.
I've tried lot of times. Not with packages like the one you mention but downloading directly jdk1.3.1. I obtained excatly the same error message. I did it running Debian under Xqt.
I was able to eliminate this first problem and progress quite a lot, but finally I found a definite stop with some "libstdc++libc6-....." that had no solution of any kind.
Anyway, I am able to run almost the same Java using jdk1.8.1 and the swingZ.jar many times mentioned in this pages. Read them and you will able to have almost the same thing as jdk1.3.1.... :-)
Smuelas
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Blackdown J2se On Zaurus Sl-c3000
« Reply #2 on: July 15, 2005, 08:06:42 am »
The java wrapper script needs some hacking to get it to work.

see http://www.users.on.net/~hluc/myZaurus/custom.html#java
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Blackdown J2se On Zaurus Sl-c3000
« Reply #3 on: July 15, 2005, 10:24:11 am »
Quote
The java wrapper script needs some hacking to get it to work.

see http://www.users.on.net/~hluc/myZaurus/custom.html#java
[div align=\"right\"][a href=\"index.php?act=findpost&pid=88462\"][{POST_SNAPBACK}][/a][/div]

Hi Meanie,

tried it per your instructions, unfortunately still some problems. Java won't start.

What i did:

Using the blackdown-jre_1.3.1-RC1_arm.ipk:
Installing with ipkg didn't work, since it wanted to install to some read-only places.

* So I untarred the ipk and the data.tar.gz and got a j2re1.3.1 directory with bin and lib in it. Started from there.

* Copied the j2re1.3.1 to /usr/local (i.e. /hdd2/usr/local).

* Used your instructions:
# ln -s /usr/local/j2re1.3.1/bin/java /usr/bin/java
# ln -s /usr/local/j2re1.3.1/bin/armv4l /usr/local/j2re1.3.1/bin/armv5tel
# ln -s /usr/local/j2re1.3.1/lib/armv4l /usr/local/j2re1.3.1/lib/armv5tel
# ln -s /usr/lib/libstdc++-3-libc6.1-2-2.10.0.so /usr/lib/libstdc++-libc6.2-2.so.3

Had to do a chmod a+x /usr/local/j2re1.3.1/bin/java  in addition.

Now, starting "java", I get the following errors:

/usr/bin/java: /bin/realpath: not found
(where can I get this tool?)

grep: /lib/jvm.cfg: NO such file or directory
(where does this file come from normally?)

java was not found in /bin/armv5tel/native_threads/java
(not even /bin/armv5tel exists - why does it think it should be there?)

Thanks for all further hints!

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

plcg

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://
Blackdown J2se On Zaurus Sl-c3000
« Reply #4 on: July 15, 2005, 02:45:19 pm »
Hi Daniel,

I've tried this under Pdaxrom and it worked (I can't remember where i found it) :

"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 ... 6.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"

Tell me if it works for you,
plcg
C760 & Pdaxrom 1.1.0beta1 / Transcend 512 MB CF
C1000 & Cacko 1.23 full / PQI 1 GB SD/ Hitachi 2GB microdrive
Linksys WCF12 CF WiFi Card