I have an application that uses approximately 20 external jar files to compress everything in a file for distribution For, I'm rejecting all the exterior in a particular directory and then turning it into a jar. The end result is about 2 MB in size. I want to use jarjarlinks to cut the size of the distribution jar, but I can not get an example of what I want to do.
Basically, I want to take only the outer jars, the sections I am using and the rest of the others can do jarjarlinks that can? If not, is there any other utility that someone recommends?
My sources are up to now:
You can also use the tool called autojar . Manifest file, when the jar is packed, you can add one with the -e option of the jar command:
jar -uvfe myjar.jar full.name.of .class.with.main Method
Comments
Post a Comment