Reducing jar file size? [duplicate]
问题 This question already has answers here : Minimizing jar dependency sizes (3 answers) Closed 3 years ago . Is there a good app to reduce jar file size by eliminating redundant classes/methods/constant pool elements? (i.e. not reachable from a fixed set of entry points, assuming no reflection) I'm tired of pulling in bloated libraries when I'm just using a couple of methods from them. (I'm not talking about small "local" optimizations like making names smaller. I'm thinking more of something