Archiviert
1
0

Merge pull request 'Use default java instead of hardcoded java' (#275) from defaultJava into master

Reviewed-on: SteamWar/BungeeCore#275
Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Lixfel 2021-12-16 15:45:43 +01:00
Commit 71befae83b

Datei anzeigen

@ -74,7 +74,7 @@ public abstract class Node {
public abstract double getLoad();
protected void constructServerstart(File directory, List<String> cmd, String serverJar, String worldDir, String levelName, int port, String xmx, String... dParams) {
cmd.add("/usr/lib/jvm/java-16-openj9-amd64/bin/java");
cmd.add("java");
for(String param : dParams){
cmd.add("-D" + param);