|
|
Classification: |
Java |
Category: |
Deployment |
Created: |
12/19/2002 |
Modified: |
01/13/2003 |
Number: |
FAQ-0842 |
Platform: |
Symbian OS v6.1 |
|
Question: I have created a MIDlet with a .jar and .jad file. When I attempt to install the MIDlet onto a Nokia 7650 by opening the .jad
file the Applications program attempts to install the.jar file, but quits before completion, complaining of a System Error.
Why is this?
Answer: This is probably due to a mismatch between the .jar and .jad file. According to the MIDP 1.0 specification, the .jad file
must contain the following fields: MIDlet-Name MIDlet-Version MIDlet-Vendor MIDlet-Jar-URL MIDlet-Jar-Size
The values of the following attributes
MIDlet-Name MIDlet-Version MIDlet-Vendor
must be identical to those specified in the JAR manifest file. Furthermore the Application Management Software of the Nokia
7650 is strict about the value of the MIDlet-Jar-Size attribute, which must exactly match the actual size of the .jar file in bytes.
|
|
|