balena-minecraft-server icon indicating copy to clipboard operation
balena-minecraft-server copied to clipboard

[BUG]server refuses to update to jdk 16

Open random1748 opened this issue 5 years ago • 3 comments

Describe the bug my Minecraft server refuses to use JDK 16 after I one-click deploy and manually deployed the project. It was running 1.16 for a while and going well but we wanted 1.17. I waited for it to be released and tried to update it. I had an earlier issue with* all the detail if you are interested. should I wipe it and reinstall

random1748 avatar Jul 29 '21 23:07 random1748

I reset it and got mc-server Setting device hostname to: balenaminecraftserver mc-server
mc-server
mc-server Starting balenaMinecraftServer... mc-server
mc-server Forcing server update mc-server Downloading 1.17.1 build 137... mc-server Starting JAR file with: 2G of RAM mc-server Minecraft 1.17 requires running the server with Java 16 or above. Download Java 16 (or above) from https://adoptopenjdk.net/ Service exited 'mc-server sha256:e520c8f017254e730a70dfbcd53302d9197b20022c583d527ea65b815ce83920' Restarting service 'mc-server sha256:e520c8f017254e730a70dfbcd53302d9197b20022c583d527ea65b815ce83920'

even after redeploying a newly downloaded version of the project it still gave the same message

random1748 avatar Jul 30 '21 00:07 random1748

@random1748 can you send me the dockefile.template file from the mc server folder in the copy of the repository you have made locally to deploy it using the balena CLI?

AlexProgrammerDE avatar Jul 31 '21 06:07 AlexProgrammerDE

Closing due to inactivity.

AlexProgrammerDE avatar Aug 10 '21 17:08 AlexProgrammerDE