java - reduce external jar file size
Posted
by joe_shmoe
on Stack Overflow
See other posts from Stack Overflow
or by joe_shmoe
Published on 2010-04-09T09:52:11Z
Indexed on
2010/04/09
10:03 UTC
Read the original article
Hit count: 130
Hi all,
still learning, so be patient :) I've developed a module for a Java
project. The module depends on external library (fastutil
). the problem is, the fastutil.jar
file is a couple of times heavier than the whole project itself (14 MB). I only use a tiny subset of the classes from the library. the module is now finished, and no-one is likely to extend it in future. is there a way I could extract only the relevant class to some fastutil_small.jar
so that others don't have to download all this extra weight?
there's probably a simple answer to this, but as I said, I still consider myself a noob.
Thanks a lot
© Stack Overflow or respective owner