10-30-2011 01:52 PM
Hi,
I am trying to create a tablet application for the first time and wanted to run it on a real Playbook. Unfortunately I am getting this error:
C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS
2.2.0.5
\bbwp>bbwp.exe c:\WebWorks\KanjiDraw\kanjidraw.zip
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling WebWorks application
Error loading: C:\Program Files\Research In Motion\BlackBerry WebWorks SDK
for T
abletOS 2.2.0.5\jre\bin\client\jvm.dll
[INFO] Packaging the bar file
java.io.FileNotFoundException:
C:\Users\USER\AppData\Local\Temp\widgetGen.97
22903841319996425543.tmp\kanjidraw.swf (The system cannot find the file
specifie
d)
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
C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS
2.2.0.5
\bbwp>
It is a Windows 7 32bit with the latest Tablet SDK and Adobe AIR 3.0SDK. Registering the Keys worked as designed. The "jvm.dll" does exist indeed.
What I am missing?
Thanks. bert2002
Solved! Go to Solution.
10-31-2011 11:26 AM
button below the post(s)
10-31-2011 01:21 PM
javac cant be found ![]()
It is available in C:\Program Files\Java\jdk1.6.0_26\bin
I added it to the windwos PATH env and now VOILA its now working to create a bar file.
Thanks a lot!
05-31-2012 11:52 AM
Share my tip to others for Webworks Package.
7.Package application for Smartphone Webworks
cd C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\blackberry-tablet-sdk
bbwp "C:\Users\test.zip" -o "C:\Users"
a. See Failed to find a <feature> element. --> The <feature> element is not a required field, so this warning message should not be considered an error.
b.Solve jvml.dll issue by reinstall jdk 32 bit and blackberry applications to the same directory under Program Files (x86).
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling WebWorks application
Error loading: C:\Program Files\Java\jdk1.6.0_18\jre\bin\server\jvm.dll
[INFO] Packaging the bar file
java.io.FileNotFoundException: C:\Users\Admin\AppData\Local\Temp\widgetGen.18064
135761294971417022.tmp\test.swf (The system cannot find the file sp
ecified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at net.rim.tumbler.file.FileManager.copyFile(FileMana
at net.rim.tumbler.airpackager.AirPackager.run(AirPac
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.j
at net.rim.tumbler.WidgetPackager.main(WidgetPackager
[ERROR] Air Packager exception occurred
c.solve the issue by Airsdk installation for Smartphone Webworks package.
How to install airsdk-->a.extract into program files (x86).
b.change My Computer\Properties\Advanced\Environment Variables\System Variables\
Select New, enter adl in the variable name. and c:\Program Files\airsdk\bin\adl.exe
adt and C:\Program Files\airsdk\bin\adt.exe
c.Restart computer.
C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK 2.3.1.5>bbwp "
C:\Users\test.zip" -o "C:\Users"
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating application archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling BlackBerry WebWorks application
[INFO] Generating output files
[WARNING] Attempt to make directory failed(C:\Users\StandardInstal
l)
[WARNING] Attempt to make directory failed(C:\Users\OTAInstall)
[ERROR] C:\Users\StandardInstall\test.cod (The system cannot fin
d the path specified)
d.After package Tablet Webworks, get jvm.dll issue.
Solve it by add javac path under
a.change My Computer\Properties\Advanced\Environment Variables\System Variables\
b.Insert javac path under "Path" ;C:\Program Files (x86)\Java\jdk1.6.0_32\bin
c.Restart computer.
C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2
.2.0.5\bbwp>bbwp "C:\Users\Webworks\test.zip" -o "C:\Users"
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling WebWorks application
Error loading: C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK
for TabletOS 2.2.0.5\jre\bin\client\jvm.dll
[INFO] Packaging the bar file
java.io.FileNotFoundException: C:\Users\Admin\AppData\Local\Temp\widgetGen.42142
87251338478809121.tmp\test.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
at net.rim.tumbler.airpackager.AirPackager.run(AirPac
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.j
at net.rim.tumbler.WidgetPackager.main(WidgetPackager
[ERROR] Air Packager exception occurred
12-14-2012 10:00 AM
I have the same problem and I didn't find the java version defined into the PATH variable as well
I add it and recomiple I got the same error!
c:\>javac -version
javac 1.7.0_09
c:\>cd C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for Tab
letOS 2.2.0.5\bbwp
C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2
.2.0.5\bbwp>bbwp C:\myapp\keepsmiling.zip -g yamosahel -buildId 1 -o C:\myapp\ou
tput
[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 loading: C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK
for TabletOS 2.2.0.5\jre\bin\client\jvm.dll
[INFO] Packaging the bar file
Exception in thread "main" java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(U
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getString(Unknown Source)
at net.rim.tumbler.log.Logger.logMessage(Logger.java:
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.j
at net.rim.tumbler.WidgetPackager.main(WidgetPackager
C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2
.2.0.5\bbwp>