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

Java 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.

[ Edited ]

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: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: I can't get debug token.

[ Edited ]

I wonder if you are mixing up development environments.

 

In Java, you do not need debug tokens.  To install on a device you have to sign your application. 

 

If you are developing for PlayBook or Z10, then you can sign your application or you can use a debug token.  But you will not be developing in Java, unless you are developing for Android.

 

So which environment are you trying to use?

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

Re: I can't get debug token.

Marmalade 6.2

Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: I can't get debug token.

Yep wrong forum.

 

I think Marmalade belongs in native Development:

http://supportforums.blackberry.com/t5/Native-Development/bd-p/native_sdk

 

here are your choices:

http://supportforums.blackberry.com/t5/Application-Platforms/ct-p/app_plat

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

Re: I can't get debug token.

[ Edited ]

Thank you. 

Contributor
Posts: 10
Registered: ‎12-12-2011
My Device: Developer- 9800, 9780, 9300, 9700, 9105, 9900, 9360
My Carrier: Wind

Re: I can't get debug token.

Hello!!

 

I didn't know if starting a new thread or not would be better... but since I saw Peter's answer I'll ask here.

 

I worked on an app for  Blackberry 6.0 (developed with the JDK using eclipse), but I've been asked to try it out on a Z10 device.  I haven't been able to install the app in the Z10 device, I tried searching for information on this and haven't found anything until now:

 

Peter, you said:  "If you are developing for PlayBook or Z10, then you can sign your application or you can use a debug token.  But you will not be developing in Java, unless you are developing for Android."

 

my question is... will  the application developed in Java be a comaptible app for Z10 ?  

 

also, when I tried only loading the applciation to the Z10 device, after packaging the application... nothing happens...  could this be a problem with the signing keys? (I requested this keys last year)

 

Sorry about asking this here...  if it's better I'll start a new thread with this question, but Peter's answer just seemed to be realted to it, and I wanted to give it a shot.

 

Thank you

 

Juan

Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: I can't get debug token.

new thread would be appropriate.

no, bb java apps are not compatible (and will never be)
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter