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

Web and WebWorks 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
Regular Contributor
Posts: 83
Registered: ‎04-29-2011
My Device: 9300 Curve
My Carrier: TIM
Accepted Solution

BlackBerry WebWorks - Eclipse

Hello there,

 

I get a little confused here.

 

Here's my problem:

 

I have a BlackBerry WebWorks working on Eclipse environment (BlackBerry WebWorks Plug-In 2.5.1.*) and BlackBerry WebWorks SDK Plug-in (2.0.0.*), OK?

 

So, the thing is: I'm getting an error "ClassNotFoundException" in my application. I have two .jar in the "ext" directory. One is my custom packet called Database.jar (where i make the db access with sqlite and so on (this is a phonegap plugin)) and the phonegap.0.9.4.jar that's the framework.

 

That's fine. Everything works fine like a charm when i compile using bbwp.exe version 1.5. But, when i compile with the SDK 2.0, i get ClassNotFoundException. I'm looking for the class that's not finding. That's fine too.

 

I would like to know one thing: How is possible to debug java code in this environment?!?!?!? I have no IDEA how to doit! I'm doing the java code by my mind!!! It's crazy!!

Márcio Saeger - Software Engineer, Softwell Solutions
Highlighted
Regular Contributor
Posts: 83
Registered: ‎04-29-2011
My Device: 9300 Curve
My Carrier: TIM

Re: BlackBerry WebWorks - Eclipse

Hello again everybody (who read this thread).

The thing is: I already knew the answers.. but that error was making me crazy.
The problem of the "ClassNotFoundException" was: I extracted my Database.jar.
Just that! Since SDK 1.5, it was inside the jar and now i extracted the jar into the "ext" folder and everything works like a charm...
Strange.

That's it. This is the answer for my thread. Thanks again.

PS: The question about "how to debug java code into WebWorks Eclipse still...". If anyone can answer to me...
Márcio Saeger - Software Engineer, Softwell Solutions