Java 11 compatibility when using docker-minecraft-server
See original GitHub issueHello. I just discovered Floodgate a few days ago! I’m excited such a thing exists.
My problem is that I haven’t had any luck running a Paper server with the floodgate-bukkit plugin in the latest Java version in docker-minecraft-server. Each time I copy floodgate-bukkit.jar to the plugins folder and start the server, it results in a Java crash. See logs here: https://controlc.com/32c1b62
For testing I start with an empty /data folder. I start with no plugins, then add Geyser-Spigot.jar, restart the server (no crash), add floodgate-bukkit.jar, restart and get a Java crash as posted above. The following Java tags all crash: latest (Java 11), openj9-11 (Java 11), java15 (Java 15).
I have gotten the java8 (Java 8) tag to work without crashing.
Here is a general docker-compose I run. version: “3”
services:
minecraft:
image: itzg/minecraft-server
container_name: mc-paper-creative
ports:
- 25100:25565
- 19100:19132/udp
environment:
EULA: "TRUE"
MOTD: "Welcome to my creative castle"
ICON: file:///data/icon.png
OVERRIDE_ICON: "TRUE"
MODE: creative
TYPE: "PAPER"
volumes:
- ./data:/data
restart: unless-stopped
Am I doing something incorrectly? I also wonder if this is an issue with the Docker version of Minecraft rather than a Floodgate issue. Any guidance is welcome. Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (2 by maintainers)
Top GitHub Comments
Ahh benab ty. ITZG responded and looks like its even further upstream like i thought.
https://github.com/AdoptOpenJDK/openjdk-docker/issues/520
Heyo,
In your crash report under Internal Exceptions, it points to a NoSuchMethod error being the culprit (perhaps an SQL Lite error?). Unfortunately this error doesn’t tell us what method is non-existent - do you have normal Minecraft server logs as well?