Reputation: 3473
I am using LWUIT in j2me. There is only one .java file containing midlet and 10 images consisting total size of 49kb.
I had added LWUIT.jar in resource file. Now my application executes and rusn properly in simulater .But when I install it in device it is showing me this error:
.java error content size to large
As the .jar file is of size 556KB
Upvotes: 1
Views: 165
Reputation: 14453
Use Obfuscating to high level and reduce the Jar file size. Also see this article, Jar size Optimization.
If you are using NetBeans means follow these steps,
Upvotes: 3