I updated my Minecraft Server to version 1.20.6 and no longer am able to start

OS Name/Version: Hostinger Game Panel (Chrome on Windows 11)

Product Name/Version: Currently running version 2.5.0.14 - 20240614.2

Problem Description: After downloading Paper version 1.20.6, I have been unable to start my server. Every time I get this error:

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 62.0
`
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
`
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1013)
`
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:588)
`
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
`
at java.base/java.lang.Class.forName0(Native Method)
`
at java.base/java.lang.Class.forName(Class.java:488)
`
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:833)

How can I update Java on my server so that I can play on it?

Steps to reproduce:

  • Step 1: I downloaded the Paper 1.20.6 file
  • Step 2: I put the Paper 1.20.6 file in the server file manager
  • Step 3: I restarted the server
  • Step 4: I checked to see if I had newer Java versions to access, but the panel only gives the option up to TEMURIN 18 jdk

Actions taken to resolve so far:
I checked to see if I had newer Java versions to access, but the panel only gives the option up to TEMURIN 18 jdk.
I googled, did not find an answer.
Searched all settings to see if I could update, was not able to find anything.

Thank you in advance!! (:

This is not Hostinger support, this is the forum for AMP.
Minecraft 1.20.6 needs Java 21, update your AMP instance if you’re using docker, otherwise install it on your VPS. For further assistance contact Hostinger’s support on their website.

1 Like

Strange… this is where Hostinger sends me to when I ask for support. I’ve updated my AMP instance as well… seem to have hit a snag. I’ll see if there’s another way to contact them. Thank you!

1 Like

Yeah, Hostinger didn’t set their support URL in the panel, so it defaults to here.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.