打包为 msix 的 install4j 安装程序出现捆绑 JRE 错误
我们使用 install4j 创建一个捆绑 JRE 的安装程序。然后,我们使用 MSIX 打包工具创建 .msix 安装程序,以在 Microsoft App Store 上发布。
当我们安装 .msix 包进行测试并尝试运行该应用程序时,我们收到以下错误:
“The JVM found at .\jre is Damaged. Please reinstall or Define EXE4J_JAVA_HOME to point to an Installed 64-bit JDK or JRE”
请注意,JRE 与安装程序捆绑在一起,它实际上安装在安装文件夹下名为“jre”的文件夹中。
当我们从 .exe 安装程序安装时,一切正常,只有在我们使用 MSIX 打包工具创建 .msix 安装程序后才会出现此问题。我们已经检查了所有已安装的文件,一切看起来都很好,但启动器将无法运行。
有人见过这个问题吗?有解决方案或解决方法吗?
We create an installer with install4j that bundles the JRE. We then use the MSIX Packaging Tool to create a .msix installer, to publish on the Microsoft App Store.
When we install the .msix package for testing and try to run the application, we get the following error:
"The JVM found at .\jre is damaged. Please reinstall or define EXE4J_JAVA_HOME to point to an installed 64-bit JDK or JRE"
Note that the JRE is bundled with the installer, and it is actually installed in a folder called "jre" under the installation folder.
When we install from the .exe installer, everything works fine, this problem only happens after we create a .msix installer with the MSIX Packaging Tool. We've checked all the installed files and everything looks fine, but the launcher will not run.
Has anybody seen this problem? And is there a solution or workaround?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论