Need help with a Plugin

Discussion in 'Spigot Plugin Help' started by Kane16x, May 14, 2017.

  1. I'm trying to use 1.7 Encahnting for my 1.8 server this is what happens can anyone help? Thanks!

    [​IMG]
    [11:06:59] [Server thread/ERROR]: Could not load 'plugins/OldEnchanting.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: im/hoss/OldEnchanting/OldEnchanting : Unsupported major.minor version 52.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:289) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.reload(CraftServer.java:718) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.Bukkit.reload(Bukkit.java:544) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:620) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1106) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:966) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(SourceFile:37) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(SourceFile:9) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_101]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_101]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:673) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:629) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:537) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_101]
    Caused by: java.lang.UnsupportedClassVersionError: im/hoss/OldEnchanting/OldEnchanting : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_101]
    at java.lang.ClassLoader.defineClass(ClassLoader.java:803) ~[?:1.7.0_101]
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_101]
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[?:1.7.0_101]
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[?:1.7.0_101]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.7.0_101]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_101]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_101]
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_101]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_101]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_101]
    at java.lang.Class.forName0(Native Method) ~[?:1.7.0_101]
    at java.lang.Class.forName(Class.java:278) ~[?:1.7.0_101]
    at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:40) ~[craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    ... 21 more
     
  2. Hello may i get some help?
     
  3. What version of java are you running?
     
  4. Java 7 is the java we have.
     
  5. Do we need Java 8? Or not?
     
  6. Try download java 8
     
    • Agree Agree x 1
  7. As QuickGlare said: Updating to Java 8 should help.
    I had this problem a while ago, until i noticed, that i was running Java 7 instead of 8. Updating fixed the problem.
     
    • Agree Agree x 1
    • Friendly Friendly x 1
  8. Thank you! It was fixed.
     
  9. If you fixed the problem, please mark this thread as solved
     
    • Agree Agree x 1