OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Personal Java/Jeode/J2ME Personal Profile => Topic started by: ludo on January 11, 2006, 03:32:05 am

Title: "normal" Java On The Z?
Post by: ludo on January 11, 2006, 03:32:05 am
I am often refering to Meanie's web site , and have to go back to what there often because as some things get clearer, I have new questions.

One here:
what would prevent the normal java (the sun's J2SE distribution for Linux) to run on the Z?

I have not tried it yet, but it seems that Blackdown Java-Linux is actually the J2SE. So does it mean that we can run any application written and compiled on the PC on the zaurus?

Ludo

(C3000 sharp ROM)
Title: "normal" Java On The Z?
Post by: Meanie on January 11, 2006, 04:22:59 am
Quote
I am often refering to Meanie's web site , and have to go back to what there often because as some things get clearer, I have new questions.

One here:
what would prevent the normal java (the sun's J2SE distribution for Linux) to run on the Z?

I have not tried it yet, but it seems that Blackdown Java-Linux is actually the J2SE. So does it mean that we can run any application written and compiled on the PC on the zaurus?

Ludo

(C3000 sharp ROM)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110383\"][{POST_SNAPBACK}][/a][/div]

You can run j2se apps on the Z, however, they will be slow and you will need X//Qt if you want to run a GUI, ie awt or swing. Also, blackdown is only jre 1.3.1 so any java application using newer apis for 1.5 or 5.0 will not run on the Zaurus.
If you look at my HdPad application, it was written for 1.3.1 so it runs on the Zaurus without needing any modifications or recompilation. Even my HdCrawler app which was compiled with 1.4.1 compiler runs because it hasn't used any of the newer 1.4.x methods and classes.
Title: "normal" Java On The Z?
Post by: ludo on January 12, 2006, 02:27:36 am
Thanks Meanie.

I'll then move to X/Qt some time soon.
Title: "normal" Java On The Z?
Post by: tovarish on January 12, 2006, 05:53:33 am
Quote
Quote
I am often refering to Meanie's web site , and have to go back to what there often because as some things get clearer, I have new questions.

One here:
what would prevent the normal java (the sun's J2SE distribution for Linux) to run on the Z?

I have not tried it yet, but it seems that Blackdown Java-Linux is actually the J2SE. So does it mean that we can run any application written and compiled on the PC on the zaurus?

Ludo

(C3000 sharp ROM)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110383\"][{POST_SNAPBACK}][/a][/div]

You can run j2se apps on the Z, however, they will be slow and you will need X//Qt if you want to run a GUI, ie awt or swing. Also, blackdown is only jre 1.3.1 so any java application using newer apis for 1.5 or 5.0 will not run on the Zaurus.
If you look at my HdPad application, it was written for 1.3.1 so it runs on the Zaurus without needing any modifications or recompilation. Even my HdCrawler app which was compiled with 1.4.1 compiler runs because it hasn't used any of the newer 1.4.x methods and classes.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110394\"][{POST_SNAPBACK}][/a][/div]

meanie, the j2me distribution on your website differs a bit from sun's. how did you create it then. the vm (cvm executable) differs largely by size as well as the .so files. there is also swing in your set.

tovarish
Title: "normal" Java On The Z?
Post by: DrWowe on January 16, 2006, 08:29:54 pm
Quote
Also, blackdown is only jre 1.3.1 so any java application using newer apis for 1.5 or 5.0 will not run on the Zaurus.
Retroweaver (http://retroweaver.sourceforge.net) can help here.
Title: "normal" Java On The Z?
Post by: Meanie on January 17, 2006, 06:05:23 am
Quote
Quote
Also, blackdown is only jre 1.3.1 so any java application using newer apis for 1.5 or 5.0 will not run on the Zaurus.
Retroweaver (http://retroweaver.sourceforge.net) can help here.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111218\"][{POST_SNAPBACK}][/a][/div]

well, unfortunately not. blackdown is 1.3 whereas retroveaver creates 1.4 bytecode. i meant to say 1.4 and 5.0 (not 1.5 since that's the same as 5.0
Title: "normal" Java On The Z?
Post by: DrWowe on January 17, 2006, 10:14:59 am
Quote
well, unfortunately not. blackdown is 1.3 whereas retroveaver creates 1.4 bytecode. i meant to say 1.4 and 5.0 (not 1.5 since that's the same as 5.0
It's not really mentioned in the documentation, but retroweaver can target 1.3 as well.  A web search (http://www.google.com/search?hl=en&q=retroweaver+1.3&btnG=Google+Search) will turn up info on how to do it.