Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
Developer
Posts: 130
Registered: ‎10-26-2010
My Device: Blackberry Bold 9700

updatejad.exe not working

Hi 

 

i am not sure where to pos this issue so i amposting here as well as at java dev forum

 

Updatejad.exe is not working for me . It is window appears fpr a blink and nothing else

 

Can anyone tell what i am doing wrong ???

 

Regards

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: updatejad.exe not working

What command line areguments are you using?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 130
Registered: ‎10-26-2010
My Device: Blackberry Bold 9700

Re: updatejad.exe not working

updatejad.exe myApp.jad mysecondapp.jad

 

these jad files as well as code files are in the bin folder where updatejad.exe file is placed.

 

Regards

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: updatejad.exe not working

Try placing the JAD files and running this from a different directory.  Use a user data style directory instead of program files.  Windows Vista/7 often lock down the program files directory.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 130
Registered: ‎10-26-2010
My Device: Blackberry Bold 9700

Re: updatejad.exe not working

I tried that too placing JAD files somewhere else.

 

and sorry I dont get you about the wondows loch down the porgrams directory .

 

Regards

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: updatejad.exe not working

Did you run updatejad from somewhere outside of the bin directory?  ie from c:\users\you instead of c:\program files\RIM\JDE\bin

 

The program files directories can be permissioned so that applications/users cannot write files there.  This could cause updatejad to fail because it cannot create the new JAD file.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 130
Registered: ‎10-26-2010
My Device: Blackberry Bold 9700

Re: updatejad.exe not working

yes i tried that too i copied my updatejad to my desktop and tried to rum it its widnow appears for less that a second and than nothing happens

 

Regards

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: updatejad.exe not working

Can you post the two JAD files?  What version of BlackBerry JDE or BlackBerry Java SDK are you using?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 130
Registered: ‎10-26-2010
My Device: Blackberry Bold 9700

Re: updatejad.exe not working

First JadeFile

Manifest-Version: 1.0
RIM-COD-Module-Name: GlobalEvents
RIM-COD-Module-Dependencies: net_rim_cldc
MIDlet-Jar-Size: 5237
MIDlet-1: ,,
RIM-COD-Creation-Time: 1316671006
MIDlet-Jar-URL: GlobalEvents.jar
RIM-COD-URL: GlobalEvents.cod
RIM-COD-SHA1: 06 67 bd e2 b6 49 2a 7d a9 4a 79 d5 a8 26 4e 56 57 03 61 e1
RIM-COD-Size: 2140
MicroEdition-Configuration: CLDC-1.1
MIDlet-Version: 0.0
MIDlet-Name: GlobalEvents
MIDlet-Vendor: <unknown>
MicroEdition-Profile: MIDP-2.0
RIM-MIDlet-Flags-1: 0

 

Second Jad File

 

Manifest-Version: 1.0
RIM-COD-Module-Name: GlobalEventProjectTwo
RIM-COD-Module-Dependencies: net_rim_cldc
MIDlet-Jar-Size: 3078
MIDlet-1: ,,
RIM-COD-Creation-Time: 1316674579
MIDlet-Jar-URL: GlobalEventProjectTwo.jar
RIM-COD-URL: GlobalEventProjectTwo.cod
RIM-COD-SHA1: 8a a0 b6 57 05 20 35 12 c9 3b 5c cf 79 6a 15 e8 e5 bf e5 8f
RIM-COD-Size: 1392
MicroEdition-Configuration: CLDC-1.1
MIDlet-Version: 0.0
MIDlet-Name: GlobalEventProjectTwo
MIDlet-Vendor: <unknown>
MicroEdition-Profile: MIDP-2.0
RIM-MIDlet-Flags-1: 0

 

I think the problem is with updatejad.exe as if i try to open it its window does not open jus apears for a while and than it close down

 

Regards

 

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: updatejad.exe not working

Are you running it from a command line or just double clicking on it?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker