A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Size does matter
Joined: Dec 02, 2003
Mar 31, 2005 03:58:00
Hi, I am working on
that should be very small (100-200k). I could use available libraries but their full size is not acceptable for me.
Is there a way to strip library out of unused classes? Something like linkers do in C++ (static linking)? Something that would track if class is used or not.
Joined: Feb 12, 2003
Apr 04, 2005 16:57:00
I think Dash-O does what you want (haven't ever used it though). There are probably others as well. You might ask in J2ME forums, since people doing J2ME are the most likely to have worried about reducing library size.
Joined: Jan 06, 2005
Apr 14, 2005 03:13:00
useful for shrinking libraries. More over, the website present an interesting list of alternative tools.
Hope that helps,
Joined: Mar 17, 2000
Apr 19, 2005 10:33:00
Have you thought of using
to explicitly load the required classes? This can greatly reduce the initial size of the Applet, but adds to the runtime overhead.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
I agree. Here's the link:
subject: Size does matter
How to drag an applet using Alt + Leftclick to an new window and not the default JFrame
Google adversary in the making
Problem with JTree inside JScrollPane inside JPanel
About SCJP Exam
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013