02-08-2011 08:07 AM
Which example are you trying to build ?
Have you got a link ?
Are you building for AdobeAir, or for WebWorks ?
Can you show what you typed at the command line, or which batch you used (if you setup a batch file)
You're not somehow packaging the wrong sample, or using the wrong packager ?
02-08-2011 03:25 PM
Cheers for responding,
So for my latest attempt I started off with a fresh install of Windows 7 32 in VMWare player.
I downloaded a fresh copy of the webworks SDK from here:
I also downloaded a fresh copy of the air SDK from here:
I decompressed the AdobeSDK and then installed the WebWorks sdk with no errors.
I made sure that the paths in the bbwp.properties file are correct.
I donwloaded the sketchpad_simple application from here: http://supportforums.blackberry.com/t5/Web-Develop
I navigated in the command prompt to the bbwp directory and ran the following command:
I also tried it with another .zip file that amounted to a config.xml file and an html file
I really don't see where i'm missing a step. I know that the packager is working for the most part because if I do something like remove the config.xml file from the archive I get an error saying that. It just appears to have a problem with linking to the JRE. My WebWorksSDK installer has a file version of 22.214.171.124, perhaps someone has an older version that I can try?
02-08-2011 03:44 PM
I am also having this problem, tried everything, read in some forums that this is related to the fact that your jvm is 64 bit (mine is not) basically it seems some people have this issue for no apparent reason, I am using
Windows XP sp3 inside sun virtualbox , installed jvm 1.6.23, everything is updated,
there is also another jre which is inside blackberry install folder.
02-08-2011 03:52 PM
Yes thats the jre that the packager uses - you can see that the bbwp.properties file points to it, I've also tried pointing it to a new download of the sun JRE without any success, I don't think its a problem with the JRE but with the linker.
02-08-2011 05:14 PM
just tried doing with nascent Windows 7 installation and setting environment variable to jre installed with RIM(there is no jdk or any other jre in system.) but no luck , same error, so it must be something to do with current sdk, I am at loss here, #newdeveloperanddesperate
02-08-2011 05:20 PM
Yeah, thats why I'm wondering if anyone has an older version that I can try out - I"m guessing that everyone here has an older version that works. Unfortunately BlackBerry are kind of hard to get hold of, I have created a support ticket but no interest yet.
02-08-2011 05:58 PM
Ok so one thing I noticed was that both you and I were running the packager on either 64bit OS's or on a virtualised OS, so I whent and grabbed an old P4, set up Windows XP sp2, spent an hour trying to find the right drivers, downloaded the SDK, AIR, and the example application - but still had no luck.
It has to be a problem with the current version of the SDK as I have run it now on several different platforms with exactly the same problem each time. I'm kind of fuming as I've wasted several hours on this when I should be developing.
Hopefully someone from RIM gets back to us soon.
02-08-2011 11:56 PM
FYI: I'm running on 64-bit Win 7, and no problems. Also got latest SDK installed (126.96.36.199).
Will try and install via your instructions on another VPC.
02-09-2011 12:36 AM
Excellent .. I can recreate the error .... now the question is just why ?
Dowloaded the latest SDKs and installed on WinXP VPC and also get the error:
Now lets see if we can drill down a bit more
As mentioned runs fine on my 64-bit Win 7 dev system. (not using the latest SDKs)