graal
graal copied to clipboard
Child process exited with code 1 - jpackage not working on Windows 11
Using GraalVM:
openjdk version "17.0.4" 2022-07-19
OpenJDK Runtime Environment GraalVM CE 22.2.0 (build 17.0.4+8-jvmci-22.2-b06)
OpenJDK 64-Bit Server VM GraalVM CE 22.2.0 (build 17.0.4+8-jvmci-22.2-b06, mixed mode, sharing)
Describe the issue After building the project: https://github.com/ebremer/HelloWorld.git
and packaging with:
jpackage --input \projects\HelloWorld\target --name HelloWorld --main-jar HelloWorld-1.0.0.jar --main-class com.ebremer.helloworld --type msi
When running the installed program, I get a pop up window with "Child process exited with code 1"

appears to be related to: https://bugs.openjdk.org/browse/JDK-8284067
Hi, Thank you for reporting this, it seems the issue is indeed related to JDK-8284067, this should be fixed by OpenJDK first before we can integrate the fix on the GraalVM side