Skip to content

Commit

Permalink
Use java from runner
Browse files Browse the repository at this point in the history
  • Loading branch information
tvallin committed Nov 18, 2024
1 parent c44a2ae commit 91120bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ private static final class JlinkRunner extends ProcessRunner {
protected List<String> command(List<String> opts, List<String> args) {
Objects.requireNonNull(finalName, "finalName is null");
if (IS_WINDOWS) {
return new CommandBuilder(".\\target\\" + finalName + "-jri\\bin\\java")
return new CommandBuilder("java")
.append("-jar " + "target\\" + finalName + "-jri\\app\\" + finalName + ".jar")
.append(args)
.command();
Expand Down

0 comments on commit 91120bb

Please sign in to comment.