Reputation: 2521
From the BlackBerry development tutorial I know that first I need to install the BlackBerry 10 WebWorks SDK and then set create a WEBWORKS_HOME environment variable with the SDK path.
I do not how to create the environment variable in Eclipse. I set it through Computer-> Properties-> Advanced Settings-> Environment Variables-> User Variables but it did not worked.
When I add a BlackBerry 10 environment to my application, it gives the following error in the Eclipse Worklight console:
E: blackberry10 build failed: The 'WEBWORKS_HOME' environment variable is undefined. See Worklight Information Center for details.
Upvotes: 1
Views: 1023
Reputation: 44516
The environment variable is created in the manner you have described - a dedicated environment variable with the name WEBWORKS_HOME
and the value, for example: C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11
.
set
Re-start Eclipse and the Build operation should now pass for the BlackBerry 10 environment.
Upvotes: 3