question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Java 11 compatibility when using docker-minecraft-server

See original GitHub issue

Hello. 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:closed
  • Created 3 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
LichLord91commented, Mar 4, 2021

Ahh benab ty. ITZG responded and looks like its even further upstream like i thought.

https://github.com/AdoptOpenJDK/openjdk-docker/issues/520

1reaction
Camotoycommented, Mar 3, 2021

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java 11 compatibility when using docker-minecraft-server
Java 11 compatibility when using docker -minecraft-server.
Read more >
How to Setup/Backup/Restore your Minecraft Server - YouTube
Minecraft Server in Docker - How to Setup/Backup/Restore your Minecraft Server. 31K views 11 months ago. Raid ...
Read more >
Image Layer Details - itzg/minecraft-server:2022.4.1-java11
itzg/minecraft-server:2022.4.1-java11 ... ENV JAVA_VERSION=jdk-11.0.11+9 ... ENV JAVA_HOME=/opt/java/openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr ...
Read more >
Docker Minecraft Purpur Geyser Server - James A. Chambers
This is a new Docker container to automatically set up and run a Minecraft server that both Java and Bedrock players can connect...
Read more >
Differences between Java 8 and Java 11/17
If your app is not using the legacy bundled services, the Java 11/17 runtimes can execute any Java framework as long as you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found