Problem/Bug Bukkit won't launch on Amazon EC2 Linux

Discussion in 'Bukkit Help' started by nicholasjw, Aug 11, 2018.

  1. Offline


    This is the error message I keep receiving whenever I try and launch the server.

    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(
    at 2)
    at Method)
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at sun.launcher.LauncherHelper.checkAndLoadMain(

    Then it brings me back to the terminal where I can re-launch, and it does the same thing. I checked, and I have Java 8 installed. Any ideas?

    Problem fixed!

    Just do
    sudo update-alternatives --config java

    And select the java verison you want.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Aug 12, 2018

Share This Page