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!! (: