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. 🙂
- Blackberry WebWorks + Ripple, whats the easiest way to distribute app? (stackoverflow.com)