How to export the smallest possible JAR file size [message #1487746] |
Wed, 26 November 2014 03:38 |
chris yo Messages: 146 Registered: February 2013 |
Senior Member |
|
|
My project's jar file size is getting bigger and bigger as more stuff is added into it. I am wondering if someone has tips on how to generate a smaller jar file.
I export it as a Runnable JAR file and the library handling is Copy required libraries into a sub-folder next to the generated JAR.
In the Properties - Java Compiler - Classfile Generation, everything is unticked.
With these options, I was able to save approx 3MB of space. And I am hoping I can save more by removing the unneeded data.
My .jar file has a .java._trace files in it. How can I remove this from the jar file?
A .xtend and .class file is also there for each class. Since the .class file is just a conversion of the .xtend, I want to remove either one of these from the jar file. How can I achieve this? Or is this even possible?
I would appreciate any tips and tricks that can help me reduce the size of the jar file.
[Updated on: Wed, 26 November 2014 03:43] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02488 seconds