balena-minecraft-server
balena-minecraft-server copied to clipboard
[BUG] Server error on boot
Describe the bug
On boot of the server, it looks like java has an issue starting the jar, it shows this specific error :
Error: Could not find or load main class true
Caused by: java.lang.ClassNotFoundException: true
To Reproduce Steps to reproduce the behavior:
- Just attempting to start the server as usual. (On the latest paper 1.18 build : 42)
Expected behavior The server starting
Screenshots
Raspberry Pi 4 B (8G):
- OS: balenaOS 2.87.16+rev1
- Version 12.11.0
Minecraft (please complete the following information):
- Device: MacBook Pro
- OS: Macos Monterey
- Minecraft Java Edition
- Minecraft Version 1.18
Okay I just realised what was breaking the server. I had these device variables:
FLAGS = true
ZGC_FLAGS = true
but the correct way to use these variables is actually:
ZGC_FLAGS = true
I just badly read the code hahahah, sorry.