#Issues with Java and Gameserver panel

14 messages · Page 1 of 1 (latest)

hard briar
#

So I installed the Gameserver panel on my Debian 12 VPS (fresh install, I reinstalled the whole VPS) and despite my attempts to install Java 17 and even other versions (like 21), my Minecraft Paper server on version 1.21.10 keeps throwing:

"Docker detected!
We are in /home/server
Minecraft 1.19 requires running the server with Java 17 or above. Download Java 17 (or above) from https://adoptium.net/"

and I did just that:

"root@purple-frog-74291:~# update-alternatives --list java
/usr/lib/jvm/temurin-17-jdk-amd64/bin/java
/usr/lib/jvm/temurin-21-jdk-amd64/bin/java"

and I even selected the Java 17 as the default:

"root@purple-frog-74291:~# sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status

  • 0 /usr/lib/jvm/temurin-21-jdk-amd64/bin/java 2111 auto mode
    1 /usr/lib/jvm/temurin-17-jdk-amd64/bin/java 1711 manual mode
    2 /usr/lib/jvm/temurin-21-jdk-amd64/bin/java 2111 manual mode

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/lib/jvm/temurin-17-jdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode"

and rebooted, but the problem is still present. Can someone please explain what's going on? Also why does it say "Docker detected!"? Does the panel containerize each server? I feel like it doesn't because if it did, Java versions wouldn't be an issue, right?

obsidian knollBOT
#

Hi there 👋
Thank you for creating a post on our Community Forum. Please keep in mind that we don't provide official support on Discord. This is a forum for the community, by the community. Meaning that help is not guaranteed. If at any point you believe your post is resolved, feel free to use the button below to close this automatically.
Now let's wait and see if someone of our lovely community can help you out!

discordtip TIP:

Need actual official support? Reach out to our customer care. greenticket

jolly zealot
#

Does Zap not provide a debian13 image perhaps? I can give you an easy way to install 13 over 12

jolly zealot
#

Don't bother doing this if/when Zap already provide a Debian13 image, but until then, to do a clean-install of Deb13 from Deb12 do

sudo bash
apt update
apt install ipxe;
wget 'https://boot.netboot.xyz/ipxe/netboot.xyz.efi' -O /boot/ipxe.efi
wget 'https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn' -O /boot/ipxe.lkrn

then enter the VNC panel on zap hosting, reboot the server,

for a few seconds it will ask you if you want to boot into debian, or boot into ipxe; pick ipxe;

from there you should get a menu where you can pick Debian13 installer.

#

once debian 13 is newly installed, run

sudo apt install default-jre

and it should install jre21, as the only jre present on the system.

#

then there's no way the gameserver will pick the wrong jre17: it doesn't exist.

#

also debian12 EOL 2026; debian 13 EOL 2028.

modern marsh
#
  1. Debian 13 is already available at zap
  2. You don't need Debian 13 to get newer java
#

Changing the Java version on the gameserver you have created on your dashboard will automatically install the chosen java version.

#

Nothing else is necessary

hard briar
#

Yea I went for Debian 12 because Gameserver panel isnt supported on 13. I ended up reinstalling to 13 and completely ditching the entire panel, on my way to install Crafty Controller. Tbh idk why I even attempted this panel, thought it would "just work"

hazy saddle
#

I had the exact same issue a couple of weeks ago trying to do what you did..
If i remember correctly this is what I had to do,
https://cdn.bergen.icu/u/7MwL1T.png

But I assume you no longer need assistance with this, since you chose another way 😄

sacred wave
#

@hard briar Hello, is that it? If so, please use a button to close this thread love