HELP!! Plugins I've Installed On MAC wont work on buggit server

Discussion in 'Bukkit Help' started by akronz, Jul 23, 2016.

Thread Status:
Not open for further replies.
  1. Offline


    Hi guys I recently made a bukkit server on 1.10.2 and I followed the steps and put a .Jar plugin file that support 1.10 in my plugins folder. This did nothing. I have the error below. I also have installed the most recent version of Java which is Java 8 for mac osx. PLS HELP

    19:32:58 ERROR]: Could not load 'plugins/EssentialsX-2.0.1.jar' in folder 'plugins'

    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/earth2me/essentials/Essentials : Unsupported major.minor version 51.0

    at ~[craftbukkit.jar:git-Bukkit-9ff3d7f]

    at org.bukkit.plugin.SimplePluginManager.loadPlugin( ~[craftbukkit.jar:git-Bukkit-9ff3d7f]

    at org.bukkit.plugin.SimplePluginManager.loadPlugins( [craftbukkit.jar:git-Bukkit-9ff3d7f]

    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugins( [craftbukkit.jar:git-Bukkit-9ff3d7f]

    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.<init>( [craftbukkit.jar:git-Bukkit-9ff3d7f]

    at net.minecraft.server.v1_10_R1.PlayerList.<init>( [craftbukkit.jar:git-Bukkit-9ff3d7f]

    at net.minecraft.server.v1_10_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-9ff3d7f]

    at net.minecraft.server.v1_10_R1.DedicatedServer.init( [craftbukkit.jar:git-Bukkit-9ff3d7f]

    at [craftbukkit.jar:git-Bukkit-9ff3d7f]

    at [?:1.6.0_65]

    Caused by: java.lang.UnsupportedClassVersionError: com/earth2me/essentials/Essentials : Unsupported major.minor version 51.0

    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.6.0_65]

    at java.lang.ClassLoader.defineClassCond( ~[?:1.6.0_65]

    at java.lang.ClassLoader.defineClass( ~[?:1.6.0_65]

    at ~[?:1.6.0_65]

    at ~[?:1.6.0_65]

    at$000( ~[?:1.6.0_65]

    at$ ~[?:1.6.0_65]

    at Method) ~[?:1.6.0_65]

    at ~[?:1.6.0_65]

    at ~[craftbukkit.jar:git-Bukkit-9ff3d7f]

    at ~[craftbukkit.jar:git-Bukkit-9ff3d7f]

    at java.lang.ClassLoader.loadClass( ~[?:1.6.0_65]

    at java.lang.ClassLoader.loadClass( ~[?:1.6.0_65]

    at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]

    at java.lang.Class.forName( ~[?:1.6.0_65]

    at<init>( ~[craftbukkit.jar:git-Bukkit-9ff3d7f]

    at ~[craftbukkit.jar:git-Bukkit-9ff3d7f]

    ... 9 more Screen Shot 2016-07-23 at 7.41.17 PM.png
    Last edited: Jul 23, 2016
  2. Offline


    @AlvinB Im updated to the latest Java -_-
  3. Offline


    The 1.6.0_65 says that you are still running Java version 6.0 update 65. You may be updated to the latest Java but you aren't running your server with it.
  4. Offline


    Hello from a fellow Mac user!

    So, here's the problem: You updated your Java but it didn't work *quite* right, so by default everything still runs with Java 6. I have literally the EXACT same problem, so here's what you need to do:

    1) Make a file named "StartServer.command" in the same folder as your Spigot/Bukkit JAR file.
    2) Paste the following code in:
    Show Spoiler
    export JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home"
    cd "$( dirname "$0" )"
    java -server -Xmx2048M -Xms1024M -jar NAME-OF-YOUR-JAR-FILE.jar nogui

    3) Change the code where it says "NAME-OF-YOUR-JAR-FILE.jar" to the name of your JAR, e.g. "spigot.jar", "craftbukkit.jar", "spigot-1.10.2.jar" or whatever your JAR file is called.
    4) Open up Terminal and type "chmod u+x " (make sure to have a space at the end) and drag "StartServer.command" onto the end of the command.
    5) Hit enter.

    Explanation: This is just making a small script that changes which Java you're using, and then running the server. If you're uncomfortable using this script or executing the "chmod u+x ..." then just Google it. This script is nothing new. It, or variants of it, have been used for YEARS. The "chmod u+x ..." is just allowing the script file to be executable ("u+x" = for this user, add the executable permission to this file)

    I hope this helps!

    EDIT: Btw, as far as I know neither of us did anything wrong when updating our Java versions, I think it's a bug in Mac OS X.
Thread Status:
Not open for further replies.

Share This Page