title: jad and jar size do not match in j2me
body: <p>I am using N97 and Nokia 5530 for my application. More often whenever I install my application. I find this error. I have searched the internet and found a number of ways to solve this problem. I did use them such as check size of jar and the one written in jad and corrected it but still problem is not solved. </p>
  
  <p>How can I remove this error in my build. Any help in this regard is highly appreciated.</p>
  
  <p>I have read the stuff--- <a href="https://stackoverflow.com/questions/8869288/unification-of-jar-and-jad-files-in-a-j2me-application">Unification of .jar and .jad files in a J2ME application</a> --- but today devices and internet are much faster. Can't we ignore the creation of jad file.</p>
  
  <hr>
  
  <p>EDIT </p>
  
  <p>Following are jad and manifest attributes. I am using NetBeans 6.9 and Nokia S60 5th Edition SDK to generate and build the MIDlet.</p>
  
  <p>jad attributes are as follows</p>
  
  <p><code>
  Backkey: -11
  <br />LGE-MIDlet-Height: 400
  <br />LGE-MIDlet-Target-LCD-Height: 400
  <br />LGE-MIDlet-Target-LCD-Width: 240
  <br />LGE-MIDlet-Width: 240
  <br />LeftSoftKey: -6
  <br />MIDlet-1: MyAppName,/icon.png,com.main.MainMidlet
  <br />MIDlet-Jar-Size: 964642
  <br />MIDlet-Jar-URL: MyAppName.jar
  <br />MIDlet-Name: MyAppName
  <br />MIDlet-Permissions: javax.microedition.io.Connector.http
  <br />MIDlet-Touch-Support: true
  <br />MIDlet-Vendor: www.MyApp.com
  <br />MIDlet-Version: 1.4
  <br />MicroEdition-Configuration: CLDC-1.1
  <br />MicroEdition-Profile: MIDP-2.0
  <br />Navi-Key-Hidden: true
  <br />Nokia-MIDlet-App-Orientation: portrait
  <br />Nokia-MIDlet-On-Screen-Keypad: no
  <br />RightSoftKey: -7
  <br />UseNativeTextButton: true
  </code></p>
  
  <p>and Manifest attributes are </p>
  
  <p><code>
  Manifest-Version: 1.0
  <br />Ant-Version: Apache Ant 1.8.0
  <br />Created-By: 1.6.0_21-b06 (Sun Microsystems Inc.)
  <br />MIDlet-1: MyAppName,/icon.png,com.main.MainMidlet
  <br />MIDlet-Permissions: javax.microedition.io.Connector.http
  <br />MIDlet-Vendor: www.MyApp.com
  <br />Nokia-MIDlet-App-Orientation: portrait
  <br />LGE-MIDlet-Height: 400
  <br />Nokia-MIDlet-On-Screen-Keypad: no
  <br />MIDlet-Name: MyAppName
  <br />Navi-Key-Hidden: true
  <br />MIDlet-Touch-Support: true
  <br />LGE-MIDlet-Width: 240
  <br />MIDlet-Version: 1.4
  <br />Backkey: -11
  <br />LeftSoftKey: -6
  <br />UseNativeTextButton: true
  <br />LGE-MIDlet-Target-LCD-Height: 400
  <br />RightSoftKey: -7
  <br />LGE-MIDlet-Target-LCD-Width: 240
  <br />MicroEdition-Configuration: CLDC-1.1
  <br />MicroEdition-Profile: MIDP-2.0
  </code></p>