Comments (7)
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.
@aadnk Thanks for helping out :)
from massivecore.
how do i do that though?
from massivecore.
@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.
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.
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.
@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)
- error after updating HOT 1
- error with recipe
- [MassiveCombat] Namespace startup error HOT 4
- Usys issue HOT 2
- Reserve Support
- MassiveLock - addition request
- MassiveLock - Dispensers/droppers not dropping items.
- Error with latest release (v2.14.0)
- Plugin.yml
- Minecraft Spigot: Massive Core plugin and Factions plugin on version 1.12.2 doesnt work
- Help! Massivecore BUG?
- xlib.gson is missing HOT 2
- Says something is illegal
- Failed to create a flatfile system pusher
- 1.13 support HOT 1
- MassiveCore log error
- Help ! my server is down... HOT 1
- LOG error in Console
- MassiveCore error
- config not shoiwng up. Factions not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massivecore.