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

Native Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 9
Registered: ‎02-11-2013
My Device: PlayBook
My Carrier: +79279308760

I can't get debug token.

Hello.

 

Sorry for my English.

 

I have some trouble getting debug token. My system is Win 7 64 bit. I act according to the instructions

 

1. Received files PBDT and RDK

2. Run this command in the console 

blackberry-debugtokenrequest -register -csjpin XXXXXXXXXX -storepass XXXXXXXXXX C:\bbndk-2.1.0\host\win32\x86\usr\bin\client-PBDT-1968368.csj

 and error

 

Exception in thread "main" java.lang.NoClassDefFoundError: net/rim/device/codesigning/keytool/KeyTool
        at net.rim.device.codesigning.barsigner.BarSigner.try(Unknown Source)
        at net.rim.device.codesigning.barsigner.BarSigner.a(Unknown Source)
        at net.rim.device.codesigning.barsigner.BarSigner.main(Unknown Source)
        at net.rim.device.codesigning.debugtoken.DebugTokenRequest.goto(Unknown
Source)
...

 I have read on this forum that the version of Java affects the error

 

I tried to install:

1. jdk-6u39-windows-x64.exe

2. jdk-7u13-windows-i586.exe

3. jdk-7u13-windows-x64.exe

 

Added environment variables Path, JAVA_HOME

 

But the problem continues.

 

Who can explain the situation and help?

Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: I can't get debug token.

You can try a 32 bit java version. But at first you have to uninstall all the other java versions. I have always had problems with BlackBerry tools and 64 bit java versions.

New Contributor
Posts: 9
Registered: ‎02-11-2013
My Device: PlayBook
My Carrier: +79279308760

Re: I can't get debug token.

 

I tried to install:

...

2. jdk-7u13-windows-i586.exe

...

 

 

 

 

Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: I can't get debug token.

Okay, and did you uninstall all the other java versions before?

New Contributor
Posts: 9
Registered: ‎02-11-2013
My Device: PlayBook
My Carrier: +79279308760

Re: I can't get debug token.

Yes. Today I plan to rechecked this and wrote message.

New Contributor
Posts: 9
Registered: ‎02-11-2013
My Device: PlayBook
My Carrier: +79279308760

Re: I can't get debug token.

[ Edited ]

problem is relevant. I removed all versions before installing Java 32-bit. Did not help.

Developer
Developer
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: I can't get debug token.

The jdk-7uXXX versions never worked for me on win7 and I had to uninstall it. Try one of the 32 bit jdk-6uXXX versions.
New Contributor
Posts: 9
Registered: ‎02-11-2013
My Device: PlayBook
My Carrier: +79279308760

Re: I can't get debug token.

[ Edited ]

I've completed these steps:
1. reinstalled OS (Win 7 64 bit)
2. Java installed Java SE 6 Update 39 (x86)
3. Added environment variables Path, JAVA_HOME

Path C: \ Program Files (x86) \ Java \ jdk1.6.0_39 \ bin \
JAVA _HOME C: \ Program Files (x86) \ Java \ jdk1.6.0_39 \
4. command is executed

 

blackberry-debugtokenrequest -register -csjpin XXXXXXXXX -storepass XXXXXXXXX C:\bbndk-2.1.0\host\win32\x86\usr\bin\client-PBDT-1968368.csj

 Debug token again, I did not get ... : ((((( Again error

New Contributor
Posts: 9
Registered: ‎02-11-2013
My Device: PlayBook
My Carrier: +79279308760

Re: I can't get debug token.

Can I get a Debug Token in a virtual machine? Maybe this will help?

Highlighted
Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: I can't get debug token.

You can use QNX Momentics.

 

Window > Preferences > BlackBerry > Signing > Create...