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



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


Johnson Controls Metasys IOM2711 Expansion Module picture

Johnson Controls Metasys IOM2711 Expansion Module

$80.00



METASYS VMA1832 CONTROLLER 37-582-265 24VAC JOHNSON picture

METASYS VMA1832 CONTROLLER 37-582-265 24VAC JOHNSON

$200.00



Johnson Controls AS-UNT111-1 Unitary Controller METASYS 6-Binary 2-Analog Output picture

Johnson Controls AS-UNT111-1 Unitary Controller METASYS 6-Binary 2-Analog Output

$300.00



Johnson Controls Metasys MS-VMA 1610-0 Variable Air Volume Controller / WARRANTY picture

Johnson Controls Metasys MS-VMA 1610-0 Variable Air Volume Controller / WARRANTY

$200.00



Johnson Controls Nu-ncm350-8 Metasys Network Controller picture

Johnson Controls Nu-ncm350-8 Metasys Network Controller

$299.88



Johnson Controls Metasys CVE03050 controller M4-CVE03050-0P picture

Johnson Controls Metasys CVE03050 controller M4-CVE03050-0P

$499.99







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