You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, today I installed fresh Debian 12, and LinuxGSM PaperMC server. When I tried to install that server, I was missing dependency openjdk version "17.0.12" 2024-07-16. So I went to install that, and when I tried to install server again, it was succesfull. However, server was not visible inside of Minecraft, so I tried ./pmcserver debug ,and I recieved error (org/bukkit/craftbukkit/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0).
[ OK ] Debuging pmcserver: Starting debug
Starting org.bukkit.craftbukkit.Main
Exception in thread "ServerMain" java.lang.UnsupportedClassVersionError: org/bukkit/craftbukkit/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:38)
at java.base/java.lang.Thread.run(Thread.java:840)
[ OK ] Debuging pmcserver: Server has stopped
[ OK ] Debuging pmcserver: Press ENTER to exit debug mode
Steps to reproduce
./pmcserver install
Dependency missing (openjdk 17)
Install dependency and try again
./pmcserver details = server STOPPED
./pmcserver debug
JDK error
The text was updated successfully, but these errors were encountered:
User story
...
Game
Minecraft PaperMC
Linux distro
Debian 12
Command
command: install
Further information
Hello, today I installed fresh Debian 12, and LinuxGSM PaperMC server. When I tried to install that server, I was missing dependency openjdk version "17.0.12" 2024-07-16. So I went to install that, and when I tried to install server again, it was succesfull. However, server was not visible inside of Minecraft, so I tried ./pmcserver debug ,and I recieved error (org/bukkit/craftbukkit/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0).
Fixed the issue by installing newer version of JDK, based on PaperMC documentation (https://docs.papermc.io/paper/getting-started) (https://docs.papermc.io/misc/java-install). Now server working as expected.
Relevant log output
Steps to reproduce
The text was updated successfully, but these errors were encountered: