Solved Unsupported major.minor version 51.0: MCore

Discussion in 'Bukkit Help' started by TheBoy3, Jun 28, 2013.

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

    TheBoy3

    I've recently tried installing MCore on my server to get factions, but when I try loading it, I get an "Unsupported major.minor version 51.0". I understand this is because I don't have java 7. When I do "java -version" in the bash terminal, I get this:

    Code:
    java version "1.6.0_51"
    Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
    Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
    
    Which means that I have java 6, but when I go to System Preferences>Java, it says that I have Java 7 Update 25. How can I fix this so I get java 7 and I can get MCore working?
     
  2. Offline

    Kolugo

  3. Offline

    TheBoy3

    I did try re-installing java by deleting the JavaAppletPlugin.plugin (correct me if i'm wrong), and then I ran the pkg installer for java 7 update 25.
     
  4. Offline

    Kolugo

    TheBoy3
    default locations for some plugins are set to java 6. try something like this:
    Code:
    export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
     
  5. Offline

    TheBoy3

    I get an error saying 'Unable to find any JVMs matching version "1.7".' :(

    I figured out the problem, I didn't have the Java 7 JDK installed, which is why it couldn't find the JVM, but I ran the command that you told me to try after installing the JDK, and now it works great! Thanks! :D

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

Share This Page