Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jar size optimization  RSS feed

 
Debojit Nag
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I am working with some images,used as buttons, header-footers etc. But this increase the jar size to a considerable amount. So, what I want to do is to place those images to a resource folder outside the application folder. If there is any way out or any other solution, plz let me know.
Thanx in advance.

Debojit
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd look into using an obfuscator, and also really look into J2ME Polish, they have optimizations through only including those images that are 100% necessary, obfuscating, conditional code based on device, etc.

Mark
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!