Giter Club home page Giter Club logo

Comments (7)

aadnk avatar aadnk commented on August 15, 2024

Duplicate:
#26
#25
#17

But yeah, you need to use Java 7 for this plugin to work. And no, it's not enough to just install Java 7. You also have to configure your start-script (or Windows) to use Java 7 by default.

from massivecore.

oloflarsson avatar oloflarsson commented on August 15, 2024

@aadnk Thanks for helping out :)

from massivecore.

mcmoder avatar mcmoder commented on August 15, 2024

how do i do that though?

from massivecore.

aadnk avatar aadnk commented on August 15, 2024

@oloflarsson: Heh, no problem. I thought it would be a good idea to subscribe to MCore after making that build project on my Jenkins server, but there's a few, eh, false alarms. Sure, Java doesn't make it easy to understand this error message, but that doesn't excuse people's inability to Google ... no offense.

It would be possible to output a better error message, but you'd have to use something like Maven modules or Maven shading to pull it off. Essentially, you'd have to compile whatever you need Java 7 for in a separate project, and them compile the rest as Java 6. Then either print a obvious "YOU NEED JAVA 7" error message, or use a fall back method of some kind. Then again, only about 7.5% use Java 6 (according to MCStats), so it might be overkill.

@mcmoder: If you're using Windows, you need to change the PATH variable and point it to Java 7. Or, you can edit your start-up script.

from massivecore.

MasterInwood avatar MasterInwood commented on August 15, 2024

Forgive my inability to resolve my issue - I am getting the same error running bukkit server 1.6.2-R0.1 on Mac OS X 10.8.4 with Java 7 update 25. Every test I can find tells me I am running Java 7, yet I still get the error:

Could not load 'plugins/mcore.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/massivecraft/mcore/MCore : Unsupported major.minor version 51.0

Every comment indicates this is a Java version error, yet I am running the latest version of Java and can find no older versions lurking about.

I'd appreciate a bit more help than I need Java 7. Thanks.

from massivecore.

Myrkwell avatar Myrkwell commented on August 15, 2024

I ran into the same issue, there were a few steps I did to resolve it. Not sure if you can skip the first two parts and go to the third but it's the order I followed.
First go into the java control panel in your system preferences and select the Java tab within that it should show you all versions of Java you are running hopefully you only see 1.7 there. If not that is part of your problem, I believe the order they are listed in is the order they will be accessed.
Second, go to the general tab and under the section labeled Temporary Internet Files click the Settings button. On the panel that opens up select Delete Files and when that opens make sure Cached Applications and Applets is checked. Click OK.
Restart and try starting your server again if you still see the error message go to the next step.
Third, I did all the above and only had 1.7 showing and STILL got the error you did. It wasn't until I installed the JAVA JDK (as opposed to the JRE) version of Java that this finally went away for me.

Hope that helps!

EDIT: Forgot, in terminal you can type: java -version
That will tell you what version your system is recognizing.

from massivecore.

MasterInwood avatar MasterInwood commented on August 15, 2024

@Myrkwell - Thanks so much. I had already tried steps 1 and 2 with no luck, I didn't think the JDK would make a difference. But it solved my issue. So now we have a solution for OS X as well. Most excellent!

from massivecore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.