Solved Lifesteal plugin could not load

Discussion in 'Bukkit Help' started by mightydespair, Apr 30, 2014.

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

    mightydespair

    My Lifesteal plugin could not load... I downloaded it then put it into the plugins folder but the console says that

    [15:21:35 ERROR]: Could not load 'plugins\LifeSteal.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError
    : net/netne/goofreweb/LifeSteal/LifeSteal : Unsupported major.minor version 51.0

    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:131) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:328) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:251) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.ja
    va:350) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:31
    2) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [c
    raftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14
    ) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.jav
    a:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java
    :424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6
    17) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    Caused by: java.lang.UnsupportedClassVersionError: net/netne/goofreweb/LifeSteal
    /LifeSteal : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.6.0_20]
    at java.lang.ClassLoader.defineClassCond(Unknown Source) ~[?:1.6.0_20]
    at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.6.0_20]
    at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.6.0
    _20]
    at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.6.0_20]
    at java.net.URLClassLoader.access$000(Unknown Source) ~[?:1.6.0_20]
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.6.0_20]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_
    20]
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.6.0_20]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:77) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.6.0_20]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.6.0_20]
    at java.lang.Class.forName0(Native Method) ~[?:1.6.0_20]
    at java.lang.Class.forName(Unknown Source) ~[?:1.6.0_20]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav
    a:40) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:127) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    ... 9 more
     
    ibJarrett likes this.
  2. Offline

    JaguarJo

    mightydespair When it says "Unsupported major.minor version" that means that the version of Java that the plugin uses doesn't work with the version of Java that the server is using. Some plugins lately have been needing Java7 instead of Java6, which is what everything used to work with.
     
    lol768, JOPHESTUS, ZachBora and 7 others like this.
  3. Offline

    mightydespair

    JaguarJo that means if I updated it to JRE7 it will work?
     
  4. Offline

    wowzersam

  5. Offline

    mightydespair

    wowzersam JaguarJo I updated my JRE6 to JRE7. Now, how can I update the plugins to JRE7.. I mean they are not still running while I'm on JRE7
     
  6. Offline

    wowzersam

  7. Offline

    mightydespair

  8. Offline

    RZeroX

    Java Development kit you shouldn't even need it unless you are compiling it.
     
  9. Offline

    wowzersam

    RZeroX Trust me, I had the same problem till I installed JDK 7. Also, are you using Mac or Windows?
     
  10. Offline

    mightydespair

  11. Offline

    wowzersam

  12. Offline

    mightydespair

    wowzersam dude, I cant download one, I am using 32-bit and 64-bit and up are only there for windows
     
  13. Offline

    RZeroX

  14. Offline

    TnT

    You do not need JDK, despite what some here are suggesting.

    All you need to do is ensure your server is running with the JRE7 you just installed. If you do not need any older Java versions on your system, uninstall the old Java and you should be fine.
     
  15. Offline

    mightydespair

    TnT I am sure that I am using JRE7 'cause I successfully installed it yesterday. But, the result is still the same :(
     
  16. Offline

    TnT

    What is the command you use to start the server? What is the output of
    Code:
    java -version
    ?
     
  17. Offline

    RZeroX

    Did you check your control panel for any other version of Java
     
  18. Offline

    mightydespair

    TnT I am using it like this

    java -Xmx1024M -jar craftbukkit.jar -o false
    PAUSE

    RZeroX TnT wowzersam JaguarJo thx for all the suggestion for me :) the problem was solved...
    I uninstalled all Java and installed new one :) thx guys for all of your concern for me

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
Thread Status:
Not open for further replies.

Share This Page