03-01-2013 07:28 AM
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 184.108.40.206"
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 specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at net.rim.tumbler.file.FileManager.copyFile(FileMana
ger.java:481) at net.rim.tumbler.airpackager.AirPackager.run(AirPac kager.java:232) at net.rim.tumbler.WidgetPackager.go(WidgetPackager.j ava: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
03-01-2013 09:54 AM
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