EXCEPTION_ACCESS_VIOLATION after build a windows self-contained application with jdeps + jlink + jpackage


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.

asked on Stack Overflow Oct 17, 2020 by madx • edited Oct 17, 2020 by madx

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0