IBM Worklight - Windows - “WEBWORKS_HOME”环境变量未定义“ [英] IBM Worklight - Windows - "'WEBWORKS_HOME' environment variable is undefined"

查看:200
本文介绍了IBM Worklight - Windows - “WEBWORKS_HOME”环境变量未定义“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

BlackBerry开发教程我知道首先我需要安装BlackBerry 10 WebWorks SDK,然后设置使用SDK路径创建一个WEBWORKS_HOME环境变量。

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.

我不怎么在Eclipse中创建环境变量。我设置它通过计​​算机 - >属性 - >高级设置 - >环境变量 - >用户变量,但它没有工作。

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.

当我将BlackBerry 10环境添加到我的应用程序,它在Eclipse Worklight控制台中提供以下错误:

When I add a BlackBerry 10 environment to my application, it gives the following error in the Eclipse Worklight console:


E:blackberry10构建失败:WEBWORKS_HOME环境变量未定义。

E: blackberry10 build failed: The 'WEBWORKS_HOME' environment variable is undefined. See Worklight Information Center for details.


推荐答案

环境变量以您所拥有的方式创建描述 - 名称为 WEBWORKS_HOME 的专用环境变量,值为例如: C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11

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.


  • 没有必要在Eclipse中创建它

  • 您可以通过打开CMD窗口并键入 set

  • There is no need to create it in Eclipse
  • You can check that it correctly exists by opening a CMD window and typing set

重新启动Eclipse,并且Build操作现在应该通过BlackBerry 10环境。

Re-start Eclipse and the Build operation should now pass for the BlackBerry 10 environment.

这篇关于IBM Worklight - Windows - “WEBWORKS_HOME”环境变量未定义“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆