More Horrors With Blackberry Webworks Development

I just came out of a near 9 hour marathon of trying to figure out what exactly in the world was making my Phonegap ant build for Blackberry to throw a compile error with this message.

[exec] javac: invalid flag: Files\Java\jdk...
[exec] [ERROR] RAPC exception occurred

I wish there was a documentation that had stated you needed to run the scripts with an administrator account, else Java will not work with the Blackberry Webworks Packager.

This would have saved me these wasted hours that could have been used for more productive work.

In any case, I always do my best to take advantage of any situation and see the light in every explosion. So I learnt a few things during the whole torturing experience and I’m glad at least that is over.

The blackberry app now compiles successfully. 🙂

Advertisements

3 thoughts on “More Horrors With Blackberry Webworks Development

  1. My apologies that we tortured you. Your suffering shall not go unavenged! 🙂

    In documentation, we do mention that “certain operating systems may interfere with normal operation”, but obviously we need to make things a lot clearer. I’ve talked to the docs folks on improving that.

    Also, our platform folks and the dev community tend to be great about helping with questions and issues like that on the forums, so if you haven’t checked those out, I definitely recommend them as a first stop: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev

    And, of course, you’re always welcome to holler at me and I’ll do my best to get you answers.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s