Unsupported major.minor version 51.0

Discussion in 'Plugin Development' started by tyler53, Jun 3, 2012.

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

    tyler53

    So I know that the Unsupported major.minor version 51.0 error means that my server is running Java 6, and my plugin was made in Java 7. But I went back into eclipse and Set the JRE to java 6 and the compiler to 1.6 and re-exported it, but I still get the same error.

    I don't want to just update my server to java 7 because most servers are still running Java 6.

    Any ideas on what to do?
     
  2. Offline

    caldabeast

    I don't understand what's wrong with upgrading to Java 7 if it would benefit you...
     
  3. Offline

    Spartan_V23

    I agree. Why not just upgrade...
     
  4. Offline

    PandazNWafflez

    Java 7 has now been released as stable, therefore good servers should be running it.
     
  5. Offline

    tyler53

    I just know that many servers are not running java 7 yet.. And a java 7 server can run java 6 so I figured I should make it compatible
     
  6. You need to make sure you compile with JRE6, after you've changed it, check the libraries of the plugin and make sure it uses JRE6 and not 7... if it does use 7, then you'll have to change the project's settings as well.
     
Thread Status:
Not open for further replies.

Share This Page