JAD file
Java ME MIDlets consist of the JAR file that contains the software and
the Java Descriptor (JAD) file that contains the information for the Java
ME container describing the contents of the source file. MTJ is equipped
with a built-in JAD editor, called the Application Descriptor Editor.
Note: Any attempt to send an
invalid JAD file to a phone results in a JAR download error.
The following attributes are required from a JAD file:
- MIDlet Jar URL
This the URL from which the JAR file can be loaded.
- MIDlet name
The name of the MIDlet suite that identifies the MIDlets to the user.
- MIDlet vendor
The name of the organization that provides the MIDlet.
- MIDlet version
This is the version number of the MIDlet suite. The format is <major>.<minor>.<micro>
as described in the Java Product Versioning Specification. The Java ME
container can use this for install and upgrade purposes, as well as for
communication with the user.
- Microedition configuration
The Java ME Configuration (CLDC version) required by this MIDlet suite.
- Microedition Profile
The Java ME profile required by this MIDlet suite.
The following attributes are optional:
- MIDlet permissions
These are the permissions that your MIDlet must have in order to operate
correctly. Permissions are usually only provided for signed MIDlets.
- Optional MIDlet permissions
These are permissions that your MIDlet would like, but can work without.
- MIDlet data size
This is the minimum number of bytes of persistent data required by
the MIDlet. The device may provide additional storage according to its
own policy. The default is zero.
- MIDlet description
This is the description of the MIDlet suite.
- MIDlet icon
This is the name of a PNG file within the JAR file used to represent
the MIDlet suite. It is the icon used by the Java Application Manager
to identify the suite. This icon is for the suite as a whole, as distinct
from the individual MIDlet icons.
- MIDlet information URL
This is the possible URL for information further describing the MIDlet
suite
These attributes can be edited in the Application Descriptor Editor,
which you can access by double-clicking the source JAD file for the desired
project in the Package Explorer view.

Java ME projects

Managing applications
Editing the JAD file

Editors