This is the error message I get when loading or creating a Minecraft world:
The game crashed whilst unexpected error Error: java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 Exit Code: -1
There may be a problem with one of the mods because this only happened as soon as I downloaded some more mods. I've tried to search for solutions but it looks like it's only for scripters and there's nothing about Minecraft. I've also considered that it may be because my version of java is out of date. Please help?
I've got the same issue, hopefully, someone can find the solution. It's not because of outdated Java because I've tried Java 11, 8 and 7 and none of them worked.
I fixed the issue for myself by disabling the mod Dynamic Surroundings. It seems that it was causing the crash. If you have that mod try disabling it and see if it works.
This is the error message I get when loading or creating a Minecraft world:
The game crashed whilst unexpected error
Error: java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Exit Code: -1
There may be a problem with one of the mods because this only happened as soon as I downloaded some more mods. I've tried to search for solutions but it looks like it's only for scripters and there's nothing about Minecraft. I've also considered that it may be because my version of java is out of date. Please help?
I've got the same issue, hopefully, someone can find the solution. It's not because of outdated Java because I've tried Java 11, 8 and 7 and none of them worked.
It's an issue with (part of) forge. A fix has been submitted it seems. Not sure how or when this fix will propagate to the user or what to do in the meantime. https://forums.minecraftforge.net/topic/97014-1165-nashorn-script-engine-issue/?tab=comments#comment-441145
How will we recieve this fix? Is it just a simple download and install (when it is made) or is it more complex?
I fixed the issue for myself by disabling the mod Dynamic Surroundings. It seems that it was causing the crash. If you have that mod try disabling it and see if it works.
In reply to TFScooty:
Thanks! That saved the (my) world!
In reply to TFScooty:
Thank you so much, I CANNOT EXPLAIN HOW STRESSED THIS MADE ME
In reply to vegetaisweak:
The new update to the mod today fixed the issue. Feel free to enable it again.