may be this information is useful for you
BlackBerry WebWorks tooling is only available for Windows environments. In addition, if you are running a 64-bit Windows operating system, you must use the 32-bit versions of the Java SDK and Eclipse.
WebWorks applications can ONLY be deployed to BlackBerry devices running OS 5.0 and higher. This information will not help you develop PhoneGap applications targeted for BlackBerry OS 4. For instructions on how to do that, see link.