0

I've downloaded a copy of the Worklight CLI installer from here, specifically the installer for 6.2.0.1 (I'm aware this isn't current, I need an older version to debug a specific problem). I am attempting to install it on OS X Mountain Lion (10.9).

However, I seem to be having problems installing it. When I unzip the installer, I get an install_mac.app/ directory. I open this with open install_mac.app from the Terminal. However, when I've clicked the button to enter the administrator password (which is accepted), the installer then shows this screen for about 5 seconds, then disappears completely (is no longer running). It appears that at this point it has crashed (although there is no stack trace or similar in the terminal).

enter image description here

How can I debug/fix the installer? Alternatively, is there a way to manually install the CLI?

My $JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home. /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java -version gives:

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
4

1 回答 1

0

在 OS X 上,CLI 安装程序不提供从命令行安装的能力。

但是,您可以做的是手动提取它而不是使用安装程序,并且为了补偿安装程序正在执行的操作(节点注册、PATH 处理),将提取的内容放在当前安装的 CLI 的相同位置. 代替它。

上面的 .zip 位于“resources”文件夹中,位于 OS X/Windows/Linux 安装程序文件旁边。

于 2015-06-19T18:38:49.240 回答