createbundle 命令行拒绝在 Windows 上生成 Mac 包

createbundle command line refuses to generate Mac bundle on Windows

说“您可以在 Windows 上生成 macOS JRE 包。”

然而,我的尝试失败了,看成绩单:

C:\develop\projects\id-gui\target\downloads\jre-bundles>..\install4j8.0.8\bin\createbundle C:\develop\projects\id-gui\target\downloads\jre-bundles\zulu11.41.24-sa-jdk11.0.8-macosx_x64
The JRE bundle wizard can only create JRE bundles for the platform you're currently running on.
The java home directory C:\develop\projects\id-gui\target\downloads\jre-bundles\zulu11.41.24-sa-jdk11.0.8-macosx_x64 contains a JRE for a different platform.

怎么了?

跨平台生成仅适用于通过“常规设置->JRE 捆绑包”步骤配置的机制生成的捆绑包。 createbundle 命令行工具创建“预创建的 JRE 包”,在 install4j IDE 中,您可以使用“项目->创建 JRE 包”执行相同的操作。这些捆绑包只能在它们预期的平台上生成,因为它们依赖于有效的本地安装。