I've got to make a Minecraft server on my root server, but whenever I open my start.sh file (or start.bat I've tried both) via the console, the following error message comes up:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org / bukkit / craftbukkit / Main: Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1 (Native Method)
at java.lang.ClassLoader.defineClass (ClassLoader.java:808)
at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass (URLClassLoader.java:443)
at java.net.URLClassLoader.access $ 100 (URLClassLoader.java:65)
at java.net.URLClassLoader $ 1.run (URLClassLoader.java:355)
at java.net.URLClassLoader $ 1.run (URLClassLoader.java:349)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (URLClassLoader.java:348)
at java.lang.ClassLoader.loadClass (ClassLoader.java:430)
at sun.misc.Launcher $ AppClassLoader.loadClass (Launcher.java:323)
at java.lang.ClassLoader.loadClass (ClassLoader.java:363)
at sun.launcher.LauncherHelper.checkAndLoadMain (LauncherHelper.java:482)
In my start file is:
java -Xmx1024M -Xms1024M -jar craftbukkit-1.13.2.jar nogui
Am I doing something wrong?
Try a newer Java version.
If I understand correctly, you have Java 8, there are newer versions.
You have a root and run sh and asked for scripts on the same system? Ouch.
Hope the box is secured by someone who knows. With all the daily port scans on all imaginable IP ranges, it's almost a sure bet that you have hackers on top of it.
That's right