Author Topic: Sun J2sdk 1.4.2 For Pdaxrom  (Read 13509 times)

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #15 on: December 27, 2004, 03:21:25 pm »
I'm currently testing JamVM on RC8.  

The 100K executable is what I like, apart from the fact that it supports the full "blue book" JVM specification, is open source and uses the GNU Classpath Java class library. IBM's Jikes compiler is also working by the way.

I guess it won't be possible to run Eclipse on the Zaurus, due to the heavy memory requirements, but the smaller programs should work fine. A comparison with the Blackdown release concerning speed would also be interesting.

So, for anyone who is interested, following JDK is compiled and working on pdaXrom:
  • JamVM 1.2.3
  • Classpath 0.12
  • Jikes 1.22
Freedom of choice, that is
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

titus

  • Newbie
  • *
  • Posts: 29
    • View Profile
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #16 on: December 27, 2004, 03:42:55 pm »
Quote
I'm currently testing JamVM on RC8. 

I guess it won't be possible to run Eclipse on the Zaurus, due to the heavy memory requirements, but the smaller programs should work fine. A comparison with the Blackdown release concerning speed would also be interesting.

So, for anyone who is interested, following JDK is compiled and working on pdaXrom:
  • JamVM 1.2.3
  • Classpath 0.12
  • Jikes 1.22
hi cortez,

sounds good... have you any experiences with swt under pdaXrom... i want to port a part of a project we are developing under jdk 1.4.2 and swt to the zaurus in near future... i'm new to pdaXrom but i can imaging, that the swt.jar for linux.gtk maybe works...

where can i download the files... i have no crosscompiler installed yet and think only installing the development system doesn't work from scratch...

thanks,

titus
SL-C860, 512MB SD Kingston, D-Link DCF-660W, pdaXrom 1.1.0 Kathrin RC9

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #17 on: December 27, 2004, 04:09:45 pm »
ehm, yeah, I'm trying to find out how to upload the IPK files.
Is there still an unstable feed and do I need an account to upload?
Any help is appreciated here  

I don't have any experience with SWT, but since it's an "all-Java" solution, it's at least worth a try. You have to find it out for yourself I guess
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

titus

  • Newbie
  • *
  • Posts: 29
    • View Profile
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #18 on: December 27, 2004, 05:30:06 pm »
Quote
ehm, yeah, I'm trying to find out how to upload the IPK files.
Is there still an unstable feed and do I need an account to upload?
Any help is appreciated here
hmmm... if you like can you upload it to my server and we can provide a section for java at pdaXrom to the world... full mirroring of the feed on my server is maybe possible too, if i can get statistics of the current transfervolumes of the mirrors for planning the amount of costs...

if you are interested, i mail you an account for my server...

titus
SL-C860, 512MB SD Kingston, D-Link DCF-660W, pdaXrom 1.1.0 Kathrin RC9

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #19 on: December 28, 2004, 03:05:23 am »
Laze will set me up a developer account  
Soon after that I will upload the files

If you can't wait that long, just PM your email address and I will sent you the files.
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

titus

  • Newbie
  • *
  • Posts: 29
    • View Profile
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #20 on: December 28, 2004, 06:24:24 am »
hi cortez,

yes... a developer account makes sense...

i think it will be set up soon, so i can download it from feed. if not, i'll sent you a mail ;-)

thank you for publishing your work!

titus
SL-C860, 512MB SD Kingston, D-Link DCF-660W, pdaXrom 1.1.0 Kathrin RC9

ostense

  • Newbie
  • *
  • Posts: 41
    • View Profile
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #21 on: December 28, 2004, 08:08:23 am »
Quote
The 100K executable is what I like, apart from the fact that it supports the full "blue book" JVM specification, is open source and uses the GNU Classpath Java class library. I
Hi !
Great work and I will try it out when it is in some feed. Have you tested any Swing application? Is it possible to say which version of Sun java the JVM is compatible with.

Thanks.


cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #23 on: December 28, 2004, 04:21:21 pm »
I've uploaded JamVM, Classpath and Jikes to the unstable feed at www.pdaXrom.org.
Free drinks for uploader of package number 100?  

Programs will be installed in /usr/java
Use following script to get you set up:

Code: [Select]
#!/bin/sh

export PATH=$PATH:/usr/java/bin
export CLASSPATH=/usr/java/share/classpath/glibj.zip

echo
echo "Java Development Kit"
echo "Powered by:"
echo " * JamVM-1.2.3"
echo " * Jikes-1.22"
echo " * Classpath-0.12"
echo

/bin/sh

See GNU Classpath Project for info on current status of compatibility with Sun's JVM's.

Happy hacking  
« Last Edit: December 28, 2004, 04:28:46 pm by cortez »
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

titus

  • Newbie
  • *
  • Posts: 29
    • View Profile
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #24 on: December 29, 2004, 09:24:35 am »
hi cortez,

just installed... it's working fine!

i havn't tested swt yet, but in a few days i can tell more about...

thanks!

titus
SL-C860, 512MB SD Kingston, D-Link DCF-660W, pdaXrom 1.1.0 Kathrin RC9

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #25 on: December 29, 2004, 05:44:36 pm »
titus,

I've investigated SWT al little. It seems that SWT is only supported for a few architectures, and ARM is not one of them.

BUT...

There's an interesting article called A small cup of SWT in which a somewhat stripped version of SWT is described. For PocketPC, I know, but that's the best I could find so far
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

titus

  • Newbie
  • *
  • Posts: 29
    • View Profile
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #26 on: December 29, 2004, 08:11:21 pm »
hi cortez,

you're right...

swt.jar for linux.gtk depends on some libraries compiled for the i86 architecture... so it wouldn't work on arm's...

the pocket PC version for arm contains dll's which useless under linux, so that the result is that no way leads to SWT on zaurus for the moment...  

the parts of the projects i want to port to zaurus contains a lot of components which we developed on base of swt components in our framework... so switching to swing is impossible...

i'll take a look for source codes from ibm, but have not much hope to get them.

i hate pocket PC's, it would be a pity if i would be forced to port it to PocketWin...

titus
« Last Edit: December 29, 2004, 08:16:10 pm by titus »
SL-C860, 512MB SD Kingston, D-Link DCF-660W, pdaXrom 1.1.0 Kathrin RC9

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #27 on: December 30, 2004, 02:52:49 pm »
The IBM J9VM is working for pdaXrom!
I've just been able to compile and run a simple "Hello World"

The IPK can be downloaded for free (after signing up) from here

Choose either the windows or linux host from WebSphere Everyplace Micro Environment Personal Profile 1.0 for Sharp Zaurus near the bottom.

After installation of this rather large package (37Mb), copy and install the much smaller (3Mb) weme-ppro10-zaurus_22_arm.ipk on your Zaurus.

Code: [Select]
sh-3.00# java -version
java version "1.3.0"

Licenced Materials - Property of IBM

J9 - VM for the Java(tm) platform, version 2.2
© Copyright IBM Corp. 1991, 2004  All Rights Reserved
Target: 20040706_1501_lHdFMq (Linux 2.4.18-rmk7-pxa3-embedix arm)

IBM is a registered trademark of IBM Corp.
Java and all Java-based marks and logos are trademarks or registered
trademarks of Sun Microsystems, Inc.

Enjoy!  
« Last Edit: December 31, 2004, 03:28:43 am by cortez »
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #28 on: December 31, 2004, 05:47:17 am »
Well, the J9VM runtime in combination with Jikes works just great!  

Since it is build for Qt/E I still don't have support for AWT or Swing. I'm now experimenting with the -Xbootclasspath parameter, to see if it is possible to bypass the default class library and use a different one (eg. GNU Classpath) with support for Swing.

Just curious to know, is there anyone else experimenting with this?
Should I keep you all updated?
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

Vanguard

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://
Sun J2sdk 1.4.2 For Pdaxrom
« Reply #29 on: December 31, 2004, 06:48:20 am »
Thanks for working on this!

Please keep us posted on your progress.  It would be nice to be able to run  my Java programs on pdaxrom.  Thanks again!