Why am I getting exit status 0xc0000005 for gradle compiled Distributables in windows?
18:24 01 Feb 2026

I can't seem to solve this, I have a compose multiplatform app which I build for windows and linux. The app uses processBuilder to run some binaries that will normally run in a terminal or cmd (cli programs)

If I do "gradlew createReleaseDistributable" I'll get a binary with folders (libs and things like that) which on linux runs perfectly, but on windows once the processBuilder part starts launching these files I get "exit status 0xc0000005"

creating

TargetFormat.Exe, TargetFormat.Msi

and then installing is giving me jvm failed to start.

"gradlew runReleaseDistributable" works fine, "gradlew packageReleaseUberJarForCurrentOS" also works fine but creates a jar file. On linux gradlew createReleaseDistributable makes a bin file that has zero issues with no special paths set or envs set.

here is the gitlab repo

What am I doing wrong or missing?

gradle kotlin-multiplatform processbuilder compose-multiplatform