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

Java Development

Posts: 39
Registered: ‎07-18-2008
My Device: Not Specified
Accepted Solution

Command line signature.

Hi all,


I've got a batch file that should launch the signature tool and automatically sign things. It doesn't seem to do the automatic signature. If I pass in:

javaw -jar c:\signaturetool.jar 


It launches the signature tool but without the cod files i'd like signed, as expected. So as the documentation suggests I try 'automatic':


javaw -jar c:\signaturetool.jar -a -p mypassword


This doesn't sign anything, i dont even see the signature tool launch and there are no errors. So I try specifying the directory:


javaw -jar c:\signaturetool.jar -a -p mypassword -r c:\myfolderwithapplication


Again, no luck, it doesn't seem to launch. Are my semantics wrong?


Also, Is there an argument in RAPC that specifies where to place the compiled files?


Posts: 319
Registered: ‎07-20-2008
My Device: Not Specified

Re: Command line signature.

javaw -jar "<pathtojde>/bin/signaturetool.jar" -a -c -p <password> <codfile>


RAPC is always current directory as fas as I know.