Minecraft server-can't-22-?

An
- in Servers
7

I recently set up a Minecraft server on a debian10 root server and when I started it came that

> WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by io.netty.util.internal.PlatformDependent0 (file: /home/Minecraft-Server/bukkit.jar) to field java.nio.Buffer.address WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.PlatformDependent0 WARNING: Use --illegal-access = warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

After that the server started and I wanted to connect to it, but whenever I want to connect, this message is spam into the console

[11:17:44 WARN]: An exceptionCaught () event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.lang.RuntimeException: Unable to access address of buffer
at io.netty.channel.epoll.Native.read (Native Method) ~ [bukkit.jar: git-Bukkit-18fbb24]
at io.netty.channel.epoll.EpollSocketChannel $ EpollSocketUnsafe.doReadBytes (EpollSocketChannel.java:678) [bukkit.jar: git-Bukkit-18fbb24]
at io.netty.channel.epoll.EpollSocketChannel $ EpollSocketUnsafe.epollInReady (EpollSocketChannel.java:714) [bukkit.jar: git-Bukkit-18fbb24]
at io.netty.channel.epoll.EpollSocketChannel $ EpollSocketUnsafe $ 3.run (EpollSocketChannel.java:755) [bukkit.jar: git-Bukkit-18fbb24]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks (SingleThreadEventExecutor.java:380) [bukkit.jar: git-Bukkit-18fbb24]
at io.netty.channel.epoll.EpollEventLoop.run (EpollEventLoop.java:268) [bukkit.jar: git-Bukkit-18fbb24]
at io.netty.util.concurrent.SingleThreadEventExecutor $ 2.run (SingleThreadEventExecutor.java:116) [bukkit.jar: git-Bukkit-18fbb24]
at java.base / java.lang.Thread.run (Thread.java:834) [?:?]

Can someone please help me here?

Be

Looks like Java is not installed or is installed incorrectly on your server.

I also had such an error with the io.netty.epoll

Dr

Which Java version is installed?

An

Which one do I need?

An

Java is installed with apt install jdk or so it was

I believe

An

Openjdk 11.0.7 2020-04-14

OpenJDK Runtime Environment (build 11.0.7 + 10-post-Debian-3deb10u1)

OpenJDK 64-Bit Server VM (build 11.0.7 + 10-post-Debian-3deb10u1, mixed mode, sharing)

Be

Then I would check which Java version is installed.

Minecraft servers actually need Java 8 as far as I know

Dr

Try Java 8