Skip to content

Commit

Permalink
Child launcher should also use --add-modules=ALL-DEFAULT.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcsmith-net committed Sep 23, 2024
1 parent 507433e commit 5c4366a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion praxiscore-bin/src/main/java/org/praxislive/bin/Main.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2020 Neil C Smith.
* Copyright 2024 Neil C Smith.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 3 only, as
Expand Down Expand Up @@ -56,6 +56,7 @@ public ProcessBuilder createChildProcessBuilder(List<String> javaOptions,
cmd.add(classPath);
cmd.add("org.praxislive.bin.Main");
} else {
cmd.add("--add-modules=ALL-DEFAULT");
cmd.add("-p");// -p %classpath -m org.praxislive.bin/org.praxislive.bin.Main
cmd.add(modulePath);
cmd.add("-m");
Expand Down

0 comments on commit 5c4366a

Please sign in to comment.