I have an application that runs in multiple proces...
# compose-desktop
j
I have an application that runs in multiple processes, and uses
ProcessBuilder
to start them. When I use
:run
this works fine, but if I use
:runDistributable
the
java.home
directory doesn't have a
/bin/java
to execute. Based on https://stackoverflow.com/questions/71924648/jpackage-for-only-one-application, it seems like I need to tweak how
jpackage
is configuring
jlink
, but I'm not sure where to do that in the
build.gradle.kts
.
Here's the code that starts the processes: https://pastebin.com/raw/ZVzASLFG