Solving development problems  |  About this blog

Archive for the ‘Compulsory attributes missing’ tag

JAR and JAD installation problems: Compulsory attributes missing

If you have something like this in your JAD file

MIDlet-Description: Your application
MIDlet-Icon: /res/p1/icon.png
MIDlet-Jar-Size: 273904
MIDlet-Jar-URL: http://someurl.com/application.jar
MIDlet-Name: AppName
MIDlet-Vendor: VendorName
MIDlet-Version: 0.9.33
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0

Be careful and check if you have some empty lines in your JAD file because this is causing this error!
Just delete empty lines.