简体   繁体   English

IBM Worklight - Windows - “'WEBWORKS_HOME'环境变量未定义”

[英]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

  • There is no need to create it in Eclipse 无需在Eclipse中创建它
  • You can check that it correctly exists by opening a CMD window and typing set 您可以通过打开CMD窗口并键入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.

相关问题 IBM Worklight-Windows环境的离线存储 - IBM Worklight - Offline storage for Windows environment 使用Windows未定义的环境变量? - Use of Windows undefined environment variable? IBM Worklight 6-Windows 8 Tablet追加功能异常 - IBM Worklight 6 - Windows 8 Tablet append function exception 在Windows 10上设置DERBY_HOME环境变量 - set up DERBY_HOME environment variable on Windows 10 IBM Worklight-以离线模式为Windows 7小工具存储大量数据 - IBM Worklight - Storing large amount of data in offline mode for Windows 7 gadgets 如何在Windows版Virtualenvwrapper中设置环境变量PROJECT_HOME和WORKON_HOME? - How do you set the environment variable PROJECT_HOME and WORKON_HOME in Virtualenvwrapper for Windows? 通过厨师配方调用,SQLPLUS无法识别Windows 12R2中的Oracle_Home环境变量 - Called through chef recipe, SQLPLUS unable to identify Oracle_Home environment variable in Windows 12R2 Windows软件包安装:必须设置HOME环境变量(或HOMEDRIVE和HOMEPATH)并指向目录(RuntimeError) - Windows bundle install: HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (RuntimeError) Windows/NetBeans 平台 - 将 JAVA_HOME 环境变量放入 conf 文件 - Windows/NetBeans platform - Getting JAVA_HOME environment variable into conf file Windows中的环境变量行为 - Environment variable behavior in Windows
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM