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

New Developer
Posts: 17
Registered: ‎11-04-2012
My Device: BB10
My Carrier: Nokia

Compiling an application for PlayBook

I need help in compiling an application for playbook:

I installed the SDK "C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS" 

and when I tried to: bbwp C:\myapp\KeepSmilingPlayBook.zip .....

I got this error....

[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[INFO] Populating application source
[INFO] Compiling WebWorks application
Error: could not find a JVM.
[INFO] Packaging the bar file
java.io.FileNotFoundException: C:\Users\Mariam\AppData\Local\Temp\widgetGen.5072
947261362138811671.tmp\KeepSmilingPlayBook.swf (The system cannot find the file
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at net.rim.tumbler.file.FileManager.copyFile(FileManager.java:481)
at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:232)
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:152)
at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:77)
[ERROR] Air Packager exception occurred


I searched and read this post but I still have the problem

Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: Compiling an application for PlayBook

You either haven't installed Java or it's not in your path


If no Java - get the latest JDK (not JRE)


Not sure about what latest tools do about JAVA but it's never a bad idea to have the java stuff in PATH


If you've installed Java it'll be missing from Path


I have mine in C:\Program Files (x86)\Java\jdk1.7.0_09\bin;


Not sure where this is on Win8 (yuk) but in Win 7 open Windows Explorer, right click on "Computer", click Advanced System Settings, Click Environment Variables then edit the path


The path you want to add will be something like mine but with some numbers different so make sure you point PATH at wherever you have it

Click the like button if you find my posts useful!