BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-24-2010, 03:46 AM   #1
srikanth_kannan
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: AT&T
Posts: 3
Default help needed in running a MIDLET in JDE 5.0.0

Please Login to Remove!

Hi,

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.
Attached Images
File Type: jpg Blackbery_JDE_output.jpg (271.3 KB, 2 views)
Offline  
Old 07-24-2010, 10:53 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

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.
Offline  
Old 07-24-2010, 02:57 PM   #3
srikanth_kannan
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: AT&T
Posts: 3
Post

Thanks a lot for the suggestion Dougsg38p !

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 ?
Attached Images
File Type: jpg preverify.jpg (97.5 KB, 3 views)

Last edited by srikanth_kannan; 07-24-2010 at 04:08 PM..
Offline  
Old 07-25-2010, 09:21 AM   #4
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

Take a look at this thread:

http://www.blackberryforums.com/deve...ighlight=LWUIT

You might also want to search the forum. There are several folks who use this library.
Offline  
Old 07-26-2010, 03:55 PM   #5
srikanth_kannan
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: AT&T
Posts: 3
Thumbs up

After a lot of search, i got this solution and it works !

forums.java.net/jive/thread.jspa?messageID=372171 (add http to this, since i was not able to post links)

Scroll down to the bottom of the above forum and follow the set of 14 steps posted by ghady_rayess.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter picture

LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter

$9.95



5/10Pcs DC 100V 10A Digital Voltmeter Ammeter LED Amp Volt Meter Current Gauge picture

5/10Pcs DC 100V 10A Digital Voltmeter Ammeter LED Amp Volt Meter Current Gauge

$21.98



Digital Multimeter Tester AC DC Volt Ohm Amp Clamp Meter Auto Range LCD Handheld picture

Digital Multimeter Tester AC DC Volt Ohm Amp Clamp Meter Auto Range LCD Handheld

$9.95



Digital Multimeter Voltmeter Ammeter AC DC Volt Ohmmeter Tester Meter Auto Range picture

Digital Multimeter Voltmeter Ammeter AC DC Volt Ohmmeter Tester Meter Auto Range

$9.95



Digital Multimeter AC DC Voltmeter Ammeter Ohmmeter Volt Tester Meter DM850 picture

Digital Multimeter AC DC Voltmeter Ammeter Ohmmeter Volt Tester Meter DM850

$7.95



US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-200A DC & Shunt picture

US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-200A DC & Shunt

$18.91







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.