I build a project in Eclipse for my BlackBerry.
I got a trouble that the jar cannot runs on my phone with the error "907 Invaild JAR Descriptor missing required atrribute:MIDlet-1".
What could be the reason for this?
I build a project in Eclipse for my BlackBerry.
I got a trouble that the jar cannot runs on my phone with the error "907 Invaild JAR Descriptor missing required atrribute:MIDlet-1".
What could be the reason for this?
Are you sure that you actually wrote a MIDlet (a.k.a a Java 2 ME application)?
A BlackBerry (and most other phones) can't simply run normal Java SE (a.k.a Desktop Java) applications, they need special applications. In the case of the BlackBerry those are eithe MIDlets or native BlackBerry applications developed with the BlackBerry JDE.
You need to provide more information about your project so that we can find the problem.
It looks like you're using a CLDC app in which case you don't need the JAR file for anything. All you need are the JAD and COD files.