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

Reply
New Contributor
xabik
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?

Please use plain text.
Developer
oliver_kranz
Posts: 216
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.

Please use plain text.
New Contributor
xabik
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

...

 

 

 

 

Please use plain text.
Developer
oliver_kranz
Posts: 216
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?

Please use plain text.
New Contributor
xabik
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.

Please use plain text.
New Contributor
xabik
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.

Please use plain text.
Developer
Developer
CMY
Posts: 1,120
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.
Please use plain text.
New Contributor
xabik
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

Please use plain text.
New Contributor
xabik
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?

Please use plain text.
Developer
oliver_kranz
Posts: 216
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...

Please use plain text.