equal
deleted
inserted
replaced
135 Map<String, String> vmArgs, String... options) throws IOException { |
135 Map<String, String> vmArgs, String... options) throws IOException { |
136 |
136 |
137 final StringJoiner command = new StringJoiner(SPACE, SPACE, SPACE); |
137 final StringJoiner command = new StringJoiner(SPACE, SPACE, SPACE); |
138 vmArgs.forEach((key, value) -> command.add(key + value)); |
138 vmArgs.forEach((key, value) -> command.add(key + value)); |
139 if (modulePath != null) { |
139 if (modulePath != null) { |
140 command.add("-mp").add(modulePath.toFile().getCanonicalPath()); |
140 command.add("--module-path").add(modulePath.toFile().getCanonicalPath()); |
141 } |
141 } |
142 if (classPath != null && classPath.length() > 0) { |
142 if (classPath != null && classPath.length() > 0) { |
143 command.add("-cp").add(classPath); |
143 command.add("-cp").add(classPath); |
144 } |
144 } |
145 if (clientModuleName != null && clientModuleName.length() > 0) { |
145 if (clientModuleName != null && clientModuleName.length() > 0) { |