Welcome!

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

Reply
New Contributor
y4yogi
Posts: 8
Registered: ‎06-18-2012
My Device: Blackberry Playbook Tablet
My Carrier: None

Unable to Package Playbook App using Ripple Emulator Extension.

Need help in packaging Playbook App using Ripple Emulator. I'm getting AIR PACKAGE EXCEPTION ERROR. Seems I have a problem with the JDK installation. Unable to rectify it. Please help !!

Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Unable to Package Playbook App using Ripple Emulator Extension.

Are you using Windows?  If so, make sure that the bbwp.exe file (included within the WebWorks SDK installation folder) has permission to run.  Sometimes Windows blocks *.exe files it doesn't recognize, and we've seen that generate errors like this.

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
New Contributor
y4yogi
Posts: 8
Registered: ‎06-18-2012
My Device: Blackberry Playbook Tablet
My Carrier: None

Re: Unable to Package Playbook App using Ripple Emulator Extension.

Yes I am using Windows and the I have bbwp.exe running with administrative rights.
I'm getting the below output on compiling :
C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2
.2.0.5\bbwp>bbwp c:\Users\yogi\RippleSites\Archives\RageMemoryGame_PB\RageMemory
GamePB.zip -g rocket11 -buildId 1.0.0.0 -o C:\Users\yogi\RippleSites\RageMemoryG
ame_PB\output
[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\Java\jre7\bin\server\jvm.dll
[INFO] Packaging the bar file
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(Unknown Source)
at net.rim.tumbler.airpackager.AirPackager.createSplashscreen(AirPackage
r.java:723)
at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:191)
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:152)
at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:77)
[ERROR] Air Packager exception occurred
Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Unable to Package Playbook App using Ripple Emulator Extension.

I think the issue is here:

 

>> Error loading: C:\Program Files\Java\jre7\bin\server\jvm.dll

 

I believe this means that Windows is restricting access for bbwp.exe to use java.exe.  You will also need to ensure that java.exe are also running with administrator priveledges.  Try looking in c:\program files\java\<version>\bin for this file?

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Developer
Dredvard
Posts: 160
Registered: ‎01-27-2012
My Device: Playbook
My Carrier: Rogers

Re: Unable to Package Playbook App using Ripple Emulator Extension.

How do you get bbwp.exe  or java.exe to run with administator priveleges from Ripple?

---
If you find my post helpful please "like" it and "accept as a solution"
Please use plain text.