File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Blackdown JRE on iPaq Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Blackdown JRE on iPaq" Watch "Blackdown JRE on iPaq" New topic
Author

Blackdown JRE on iPaq

Shuai Liu
Ranch Hand

Joined: Jan 25, 2002
Posts: 49
Hi, Valentin
I just installed Familiar and it's working fine. However, I noticed that the Blackdown JRE1.3 is about 12MB big. Does it mean I have to install it on a CF card since mine iPaq has only 32MB RAM?
But if I use a CF, where do I put my wireless card? Do I have to get a dual-slot jacket?
Thx.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
I use a 3760 which has 64 MB of RAM and 32MB of ROM and everything's fine. If you use a CF, you have to get a dual-sleeve to be able to plug your wireless card in. What I did is little stripping of the JRE and removed some native libraries in the lib/armv4l directory, like libJdbcOdbc.so,...
which allowed me to gain some room...
I also modified rt.jar to include only the classes I needed. That's a risky operation, but it worked. If you do that, make sure to have a backup copy of your original JRE somewhere.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Shuai Liu
Ranch Hand

Joined: Jan 25, 2002
Posts: 49
Is it possible to make a dffs2 image of JRE and put it into ROM? Since your H3700 has 32MB of ROM and Familiar may take less than half of that(I guess)?
BTW: Which Windows Manager r u using? I installed ion because it's recommended. Did you try icewm or matchbox?
Thanks
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
I haven't tried to make an dffs2 image of JRE but I guess it is indeed possible.
I tried matchbox, blackbox and another one I can't remember the name of. I'll let you know tomorrow.
Shuai Liu
Ranch Hand

Joined: Jan 25, 2002
Posts: 49
Since the extra space in ROM will probably just sit there idling, wouldn't it be nice for us to put some big packages in there?
What about cramfs, is that also an option for us?
I really like blackbox and icewm(on PC). But people told me that blackbox has problems working with xkbd and icewm is not stable. What do you think? Thank you.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
yep blackbox has problems with xkbd, at least I experienced that. But I tweak things around a little bit and seemed overcome the problem. However, I can't remember how I did that... (Baaaad boy)
You can go to the Java-linux mailing list on Blackdown.org where the same issue (cramfs and stuff) is being discussed : http://www.mail-archive.com/java-linux@java.blackdown.org
How to construct a CRAMFS image:
http://www.handhelds.org/z/wiki/Constructing%20a%20cramfs%20image
[ March 18, 2002: Message edited by: Valentin Crettaz ]
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Some screenshots of window managers available with Linux Intimate: http://intimate.handhelds.org/screens.shtml
Shuai Liu
Ranch Hand

Joined: Jan 25, 2002
Posts: 49
Hi, Valentin
Would you take a look at the other post below? Thx
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Webpage on http://www.handhelds.org which enumerates all available window managers for iPaq:
http://www.handhelds.org/z/wiki/WindowManagers
Shuai Liu
Ranch Hand

Joined: Jan 25, 2002
Posts: 49
Thank you for your reply to the Blackdown-jre question!
I was feeling OK with ino until I saw OPIE. It was beautiful. Did you ever use that instead of X windows managers?
I will give it a try if I can manage to get another iPAQ.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Blackdown JRE on iPaq
 
Similar Threads
Question re: heap dump analysis on Blackdown
Java applications on embedded Linux
Heap Analysis in Blackdown Java
J2ME
run application on PDA