Re: Minimizing glibj.zip size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 15, 2006, at 11:57 AM, Mario Torre wrote:

You can try an obfuscator, like http://proguard.sourceforge.net/

Yes, that's what I've been doing, but unfortunately the default glibj.zip is so big that ProGuard chokes on it and exhausts heap space. I've resorted to manually removing large swaths of glibj.zip that I know I don't need (like AWT), then running ProGuard on it, and that does the trick.

It would be nicer if there were a configuration program in classpath, like what the Linux kernel and BusyBox have, that lets you fine-tune the components to include in the build.

Every now and then I get new interest in J2ME with Classpath. I never go too far, as I never decide if I want an emulator or I want to strip down
classes to use in some undefined (nokia 770) mobile devices...

In the latter case, I think Michael Koch was doing some work on this
field.

I've also been working on that, but with a focus on stripping CORBA libraries:

http://repositories.cdlib.org/postprints/656/

Trevor



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux