How to slim down jar files?
I am working on a java application that uses classes form a 3rd party library. Currently I am including the entire library in the jar for distribution. While this solution works, it results in a rather large jar file.
My application uses only a small fraction of the classes in the library. I know which classes I reference directly from my code, but these classes in turn reference other classes in the library. Is there an easy way to find out which classes I need to include in my jar for distribution and which parts of the library I don't need to include?
In case this is relevant, I am using NetBeans IDE 5.0 for this project. Does it have the functionality to pack in only the required classes? If so, I was unable to find it.
Last Post: 05-29-2005, 02:23 AM
By Christer Nordvik in forum Java
Last Post: 10-17-2001, 09:11 AM
By John Maldonao in forum Java
Last Post: 04-10-2001, 07:19 PM
By Rocco Balsamo in forum Java
Last Post: 02-18-2001, 05:21 AM
Last Post: 12-28-2000, 09:02 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center