From 276cdf1762a06e5ca80b1154345613d7a46c220c Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 11 Dec 2021 16:54:06 +0100 Subject: [PATCH] Use default java instead of hardcoded java Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/Node.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/Node.java b/src/de/steamwar/bungeecore/Node.java index 4359b9c..d53d2e8 100644 --- a/src/de/steamwar/bungeecore/Node.java +++ b/src/de/steamwar/bungeecore/Node.java @@ -74,7 +74,7 @@ public abstract class Node { public abstract double getLoad(); protected void constructServerstart(File directory, List 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); -- 2.39.2