Hi there,
I'm new to minecraft. I am trying to setup a server for my elementary school children to learn how to play minecraft and then how to modify it. I've got a vanilla Raspberry Pi4 (with 8GB RAM and running on a 512 m.2 SSD) running Debian bookworm and am a decent linux admin, but no experience with java programming. I've got the default jre installed:
root@plex:/tmp# java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment (build 17.0.12+7-Debian-2deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.12+7-Debian-2deb12u1, mixed mode, sharing)
And I've got the latest version of paper (1.21.1-33.jar).
When I try to load that jarfile, it errors out with:
root@plex:/home/chris/minecraft# java -jar paper-1.21.1-33.jar
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)
So I'm assuming I need a more recent JRE than what is currently the default for a fully patched Debian 12/Bookworm system. Hoping someone can give me some hints on how to proceed to sort this out. This is ultimately going to be a project for their school to kick of a "girls who code" club.
Thanking anyone who can help in advance!
Best,
I'm new to minecraft. I am trying to setup a server for my elementary school children to learn how to play minecraft and then how to modify it. I've got a vanilla Raspberry Pi4 (with 8GB RAM and running on a 512 m.2 SSD) running Debian bookworm and am a decent linux admin, but no experience with java programming. I've got the default jre installed:
root@plex:/tmp# java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment (build 17.0.12+7-Debian-2deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.12+7-Debian-2deb12u1, mixed mode, sharing)
And I've got the latest version of paper (1.21.1-33.jar).
When I try to load that jarfile, it errors out with:
root@plex:/home/chris/minecraft# java -jar paper-1.21.1-33.jar
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)
So I'm assuming I need a more recent JRE than what is currently the default for a fully patched Debian 12/Bookworm system. Hoping someone can give me some hints on how to proceed to sort this out. This is ultimately going to be a project for their school to kick of a "girls who code" club.
Thanking anyone who can help in advance!
Best,