IBM Worklight - Mac - “'WEBWORKS_HOME' environment variable is undefined”

非 Y 不嫁゛ 提交于 2019-11-30 16:13:56

The following worked for me.

  1. Install the latest BlackBerry 10 WebWorks SDK from this location: https://developer.blackberry.com/html5/downloads/?os=mac#blackberry10

    As I was unable/unsure how to work with spaces in the variable path (there is a way to do so, I just haven't figured it out), I renamed the path folders:

    From: /Developer/SDKs/Research In Motion/BlackBerry 10 WebWorks SDK 1.0.4.11

    To: /Developer/SDKs/RIM/1.0.4.11

  2. Open the Terminal application and

    • Type: sudo vi /etc/launchd.conf
    • Press 'i' to enter edit mode
    • Type: setenv WEBWORKS_HOME /Developer/SDKs/RIM/1.0.4.11
    • Press 'ESC' and type: :wq to save and quit VI
    • Restart the computer
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!