Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Install4j 如何在OSX中安装服务_Install4j - Fatal编程技术网

Install4j 如何在OSX中安装服务

Install4j 如何在OSX中安装服务,install4j,Install4j,我添加安装服务并启动服务安装4j 此服务在windows中执行良好 但这项服务在OSX中没有安装 这是installation.log ================================================================= [错误]com.install4j.runtime.beans.actions.services.InstallServiceAction[ID 58]:9毫秒后执行操作不成功 [错误]com.install4j.runtime.b

我添加安装服务并启动服务安装4j

此服务在windows中执行良好

但这项服务在OSX中没有安装

这是installation.log

=================================================================

[错误]com.install4j.runtime.beans.actions.services.InstallServiceAction[ID 58]:9毫秒后执行操作不成功

[错误]com.install4j.runtime.beans.actions.services.StartServiceAction[ID 59]:4毫秒后执行操作不成功

===================================================================

我执行install4j示例程序

C:\ProgramFiles\install4j5\samples\hello\hello.install4j for OS X中的服务

Hello World Suite Installer.app已安装在my OS X中

此示例Hello World Suite Installer.app包含在服务中

服务中有错误

请告诉我问题所在。

可能的原因:

您使用的是错误版本的install4j。版本中存在错误修复。 Mac OS X安装程序中未包含服务启动器。正如上文评论中提到的Ingo Kagel。
最有可能的是,Mac OS X安装程序中没有包含服务启动器