Yet another 906 Invalid Descriptor problem

I am getting '906 Invalid Descriptor' when trying install my Java MIDlet.

If someone take a look at my JAD and JAR, both can be found at <removed> , I would greatly appreciate it.

- Steve W.

UPDATE: I downloaded the Sprint Wireless Toolkit for Java from the SprintPCS Developer Website, http://developer.sprintpcs.com.

It seems to do a much better job of generating JAR and JAD files (than Eclipse) that are acceptable to Sprint.

I noticed is that the Sprint Tookit creates JAD files in the UNIX format, not Windows format. It also adds MIDlet-1 entry as suggested below.

Yet another 906 Invalid Descriptor problem

You are missing a MIDlet-<n> attribute. You need something like this:

[code:1:44b2881912]MIDlet-1: Bookbox, /Bookbox.png, Bookbox[/code:1:44b2881912]

This tells the application manager the name of the class file that defines your MIDlet. The first parameter is the name that will be displayed on the menu of the phone. The second parameter is optional but it's an icon that will be displayed on the menu. The last parameter is the name of the class file. I believe the name is case sensitive.

This line is missing from your JAD and from the manifest file in your JAR. Simply adding it to the JAD won't be sufficient. You'll need to repackage the MIDlet with the correct manifest.