I have an application which is produced using Netbeans and the Sun Wireless toolkit.
The jar downloads fine into a Nokia device (N95)
This program has also been running succesfully running on various Blackberry devices such as the Storm and others by downloading the jar/jad files over the air via a web page.
I recently made some minor changes and now I get the following message when trying to download the application via a web browser. I reversed the changes but the problem remains.
"907 invalid JAR duplicate definition for 'c' in c" (This was on a BB 8310 curve)
I also get a very similar message when attempting to convert the JAD and JAR file to an ALX/COD file using a third party utility (Jar 2 ALX from Brandon Swift Creations) so it confirms that something is wrong with my JAD/JAR.
What else has changed.
I installed windows 7.0 and installed Netbeans 6.8 with Wireless toolkit version 2.5.2 as before.
Now it gets really interesting.
I copied my source to an old system running Netbeans 5.0 with WTK 2.2 and the jar files it produced were OK and loaded on the Blackberry OK. However I deleted the project and recreated it on the Netbeans 5.0/WKT 2.2 system. The new jar files that the new project created no longer worked on the Blackberry.
Any ideas ?
This is the JAD
MIDlet-1: Aircraft Data,/icon.png,AircraftData.AircraftData
MIDlet-2: Airport Data,/icon.png,AirportData.AirportData
MIDlet-3: Flight Planning,/icon.png,FlightPlanning.FlightPlanning
MIDlet-5: Weight & Balance,/icon.png,WeightBalance.WeightBal
MIDlet-6: Online Weather,/icon.png,Airmet.GetAirmet
MIDlet-Vendor: Bob Rathbone