From c7c541676ca898d979cc56ffc0a5823d02d3a089 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Thu, 18 Jan 2024 01:41:00 +0100 Subject: [PATCH] Fix java version 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 8978b99..e0a90b3 100644 --- a/src/de/steamwar/bungeecore/Node.java +++ b/src/de/steamwar/bungeecore/Node.java @@ -98,7 +98,7 @@ public abstract class Node { if (JAVA_8.contains(serverJar)) cmd.add("/usr/lib/jvm/java-8-openj9-amd64/bin/java"); else - cmd.add("java"); + cmd.add("/usr/lib/jvm/java-21-openj9-amd64/bin/java"); for(String param : dParams){ cmd.add("-D" + param);