I have developed a MIDLET using Netbeans IDE and the application works fine in all Ericson, nokia simulators and devices. I need to make the MIDLET run in a Blackberry Bold 9700. But, i have had problems even while running the MIDLET in the 9700 simulator. The MIDLET compiles and builds successfully, when i run it and go the Menu -> Downloads in the 9700 simulator, i could not find my application(mainMidlet) in there. I have also checked other folders in the simulator but in vain.
Initially i got the" module(mainMidlet) has verification errors" and i removed all the System.out. println() statements in my code and i could find my MIDLET in the Downloads folder of the 9700 simulator and when i clicked it, i got a pop-up Alert in the simulator saying "LWUIT module has verification errors". I also get the following message "source code not available" in the JDE screen(please see the attached screenshot".
Can someone help me out. I have been breaking my head for 2 days trying to figure out the reason.
You app will not start becuse the library has verification errors. YOu need to run preferify on the LLWUIT library, or recompile it yourself using the JDE.
The "source not available" is what happens when an exception is thrown from, or you step into, a module that does not have source in the current project. The JDE tries to find the soruce for the line currently executing, and when it cannot find the source you get this message.
i have tried running preverify command with the following parameters
C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin>preverify -classpath "C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\lib\LWUIT.jar"
i could not make anything out from the output, which i have attached as a jpeg file in this message.
Can you brief the other method, how to recompile LWUIT using JDE ?
Last edited by srikanth_kannan; 07-24-2010 at 04:08 PM..