Click to See Complete Forum and Search --> : Need help converting .jar .jad files to .cod files


morser
11-30-2002, 12:21 PM
Following the Blackberry Java Developing Guide I was trying to convert MIDlets from www.midlet.org. I got to the step 9 in the guide where it says - In Name of main MIDlet class, type the fully qualified name of the MIDlet's main class, such as com.company.demos.MidletDemo. I don't understand what this means as i am just trying to convert a MIDlet and don't know much about this system. Can anyone explain to me what to put here when Building?

Here is the error message i get when i go to build....
Building Spruceman ...
C:\Program Files\Research In Motion\BlackBerry JDE 3.2.1\bin\rapc.exe -quiet import="C:\Program Files\Research In Motion\BlackBerry JDE 3.2.1\lib\net_rim_api.jar" codename=Spruceman -midlet C:\root\6710\midlet.org\spruceman\SpruceMan.jad C:\root\6710\midlet.org\spruceman\SpruceMan.jar
I/O Error: Descriptor duplicate attribute mismatch: MIDlet-Version old value: 0.3 new value: 0.1
Error while building project

techiemaniac
09-10-2003, 10:23 AM
Could anyone post a simple, easy step guide to getting this done? I have read on the forums about getting .jar files to the 62xx and 72xx devices 'over the air'... How exactly is this done?

Mark Toohey
09-10-2003, 11:53 AM
It's the main class that the app uses to run. It may be named in the JAD that came with the app. also you may have an error in the JAD which is really what the compiler may be telling you. I have done this midlet conversion severals times and it's always a little rocky and it depends on the quality of the jad/jar you are using.

headtailgrep
08-11-2004, 12:56 PM
I found a solution to your problem.. search the forums, thread titled "Non BES users: uploading JAD/JAR midlets to your blackberry? "