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

[BUG]

Open cutevalent opened this issue 5 years ago • 2 comments

Raspberry Pi 4b 4GB RAM:

  • OS: [balenaOS 2.75.0+rev1]

Minecraft (PaperMC 1.16.5):

Hey! Would like to check if theres any steps that we cna have to update the Java present on the Pi/Balena OS to Java 16 in preparation for 1.17 as my current Java Version is 11 and the log is showing me the following:

[03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] ************************************************************ [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * WARNING - YOU ARE RUNNING AN OUTDATED VERSION OF JAVA. [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * PAPER WILL STOP BEING COMPATIBLE WITH THIS VERSION OF [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * JAVA WHEN MINECRAFT 1.17 IS RELEASED. [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Please update the version of Java you use to run Paper [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * to at least Java 16. When Paper for Minecraft 1.17 is [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * released support for versions of Java before 16 will [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * be dropped. [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Current Java version: 11.0.8 [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Check this forum post for more information: [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] * https://papermc.io/java16 [03:44:38 WARN]: [io.papermc.paper.util.PaperJvmChecker] ************************************************************

have attempted a curl/wget but its having issues downloading the file from AdoptOpenJDK

root@balenaminecraftserver:~# curl -LJO https://github.com/AdoptOpenJDK/openjdk16-binaries/releases/download/jdk-16.0.1%2B9/OpenJDK16U-jdk_aarch64_linux_hotspot_16.0.1_9.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 660 100 660 0 0 1692 0 --:--:-- --:--:-- --:--:-- 1687 Warning: Failed to create the file Warning: OpenJDK16U-jdk_aarch64_linux_hotspot_16.0.1_9.tar.gz: Read-only file Warning: system 0 193M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (23) Failed writing header

cutevalent avatar Jun 09 '21 03:06 cutevalent

The jdk version is defined in the dockerfile. I will update it once I'm back home.

AlexProgrammerDE avatar Jun 09 '21 11:06 AlexProgrammerDE

Hey @AlexProgrammerDE did you manage to make any progress on this dockerfile? Thanks for your contributions to this project, it doesn't go unappreciated!

Cheers

@cutevalent @sumwhat1 Yes I pushed a temporary fix. You can now try to deploy the code from the repo again.

AlexProgrammerDE avatar Jul 04 '21 05:07 AlexProgrammerDE