[英]IBM Worklight - Windows - “'WEBWORKS_HOME' environment variable is undefined”
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. 从BlackBerry开发教程我知道,首先我需要安装BlackBerry 10 WebWorks SDK,然后使用SDK路径设置创建WEBWORKS_HOME环境变量。
I do not how to create the environment variable in Eclipse. 我不知道如何在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: 当我向应用程序添加BlackBerry 10环境时,它会在Eclipse Worklight控制台中出现以下错误:
E: blackberry10 build failed: The 'WEBWORKS_HOME' environment variable is undefined.
E:blackberry10构建失败:'WEBWORKS_HOME'环境变量未定义。 See Worklight Information Center for details.
有关详细信息,请参阅Worklight信息中心
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
. 环境变量以您描述的方式创建 - 名为
WEBWORKS_HOME
的专用环境变量和值,例如: C:\\Program Files\\Research In Motion\\BlackBerry 10 WebWorks SDK 1.0.4.11
。
set
set
来检查它是否正确存在 Re-start Eclipse and the Build operation should now pass for the BlackBerry 10 environment. 重新启动Eclipse,现在应该为BlackBerry 10环境传递Build操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.