问题描述
我正在尝试使用 jdeps
+ jlink
+ jpackagewindows
构建一个包(自包含应用程序)/代码>.
在 mac 上,使用相同的程序,我设法创建(按照 JPackageScriptFX 作为参考)一个完全独立的.app"对于这个项目 graph-editor 通过 maven 的组合code> 和一个使用
jdeps
+ jlink
+ jpackage
的脚本.
我希望 jdeps
+ jlink
+ jpackage
的相同配置在安装 wix 3.x.
该过程运行良好并生成安装程序,但不幸的是,当我启动.exe"程序时出现以下错误.文件.
- 可以在此处找到有关我使用的配置的更多详细信息.
- 蝙蝠"我使用的脚本是这个:build_app.bat.
- 在主项目上运行
maven install
a> 在 Windows 上可以复制该问题.
## Java 运行时环境检测到一个致命错误:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=16672, tid=5124## JRE 版本: (15.0+36) (build )# Java VM:OpenJDK 64 位服务器 VM(15+36,混合模式,分层,压缩 oops,g1 gc,windows-amd64)# 有问题的框架:# C 0x0000000000000000## 不会写入核心转储.默认情况下,客户端版本的 Windows 上不启用小型转储#
完整的.log"打印可以在这里找到.
Copy zip.dll
from {your app path}/runtime/bin/
到 {您的应用路径}
.
I'm trying to build a bundle (self-contained app) for windows
using jdeps
+ jlink
+ jpackage
.
On mac, with the same procedure, I managed to create (following JPackageScriptFX as reference) a fully working self-contained ".app" for this project graph-editor through a combination of maven
and a script which uses jdeps
+ jlink
+ jpackage
.
I expected that the same configurations for jdeps
+ jlink
+ jpackage
would have worked on windows after the installation of wix 3.x.
The procedure works fine and produces an installer, but unfortunately I get the error below when I launch the ".exe" file.
- More details about my configurations that I used can be found here.
- The "bat" script that I used is this one: build_app.bat.
- Running a
maven install
on the main project on a windows it's possible to replicate the problem.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=16672, tid=5124
#
# JRE version: (15.0+36) (build )
# Java VM: OpenJDK 64-Bit Server VM (15+36, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C 0x0000000000000000
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
The full ".log" print can be found here.
Copy zip.dll
from {your app path}/runtime/bin/
to {your app path}
.
这篇关于使用 jdeps + jlink + jpackage 构建 Windows 自包含应用程序后的 EXCEPTION_ACCESS_VIOLATION的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!