03-26-2011 02:39 AM
I'm running Win7 x64 physical machine and get the same error. I have downloaded everything listed on the WebWorks howto guide.
I've copied MSVCR71.dll to c:\Windows\System32 and still get the error.
What else am I missing?
05-04-2011 05:47 AM
05-16-2011 03:20 AM
05-31-2012 11:56 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
01-15-2013 12:14 PM
I have this file MSVCR71.dll already in my System32 folder but I am still getting the error, this time:
Error: could not find a JVM.
[INFO] java.io.FleNotFoundException: C:\Users\Seun\AppData\Local\Temp\widgetGen.4063753
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
Please your help will be much appreciated. Thanks in advance!