Right here’s the crux of the article in video kind:
New updates are being added on the backside of this story…….
Authentic story (printed on March 30, 2022) follows:
Minecraft is a well-liked open-world sandbox recreation the place it’s important to discover, survive and construct.
The Minecraft constructing system is stuffed with potentialities, being one of many key facets of the success of the sport. The Web is stuffed with huge constructing initiatives of every kind, from buildings to total worlds.
On PC, Minecraft is obtainable in two variations: normal (or ‘Bedrock’) and Java Version. Minecraft Java Version is obtainable on Home windows, Mac, and Linux.
You possibly can develop the probabilities of Minecraft: Java Version via Forge, which is a server that improves the compatibility of the sport with mods.
That mentioned, many Minecraft: Java Version gamers are dealing with a crashing situation the place they obtain an ‘Exit code -1’ error message when utilizing Forge mods (1, 2, 3, 4, 5, 6, 7, 8).
Minecraft: Java Version crashing or throwing ‘Exit code -1’ on Forge mods
Based on a number of stories, the usage of Forge mods is inflicting a crashing situation, an ‘Exit code -1’ message or a ‘Java Runtime Configuration could also be invalid’ error message for a lot of Minecraft: Java Version gamers.
Whats up, I’m making an attempt to play 1.18.2 modded however after I attempt to launch the sport with any mods except for these which can be put in and launched with forge it is going to crash with an exit code 1 and says the Java Runtime Configuration could also be invalid. I’ve re-installed Minecraft, Java and even downgraded the forge model however nothing works.
Source
Some face the difficulty with out Forge mods too
In some circumstances, the identical ‘Exit code -1’ or ‘Java Runtime Configuration could also be invalid’ message might seem to gamers who don’t have any Forge mod put in on Minecraft: Java Version (1, 2, 3, 4, 5, 6, 7, 8).
Exit code: 1
Each time I attempt to launch Minecraft I get a display that claims Invalid java runtime configuration” “exit code 1” I don’t have mods or forge downloaded it’s simply straight vanilla. I did obtain Minecraft earlier than i downloaded java if that issues in any respect. I additionally get a display that claims “java exception occurred” any assist can be appreciated
Source
Additionally, some gamers counsel that each one variations of the sport (from 1.7.10 to 1.18.2) might be affected.

A possible clarification and repair
The difficulty might be associated to the model for which the mod you put in was developed. To keep away from issues, it’s best to set up mods solely on the model of the sport for which they have been developed.
Common information: At all times put together for errors when your mods aren’t for THE EXACT model you play. For instance, 1.18.1 mods may not work for 1.18.2 and vice versa.
Source
The Java model in your PC may additionally trigger points. Evidently it’s best to solely set up the newest variations of Java for Minecraft variations increased than 1.16. For Minecraft variations earlier than v1.16, you’ll need to make use of Java 8.

This is likely to be the trigger:
Newest Java = 17 -> for MC 1.16+
For older MC variations use Java 8
Source
There isn’t a official acknowledgment of the difficulty from the builders but. We’ll replace this story if there may be any change within the scenario sooner or later.
Replace 1 (June 06, 2022)
12:38 pm (IST): Many gamers are once more reporting the difficulty the place they’re getting ‘Exit code -1’ error message. Sadly, Mojang assist hasn’t but acknowledged this situation.
Replace 2 (June 08, 2022)
11:24 am (IST): A brand new replace is now available for Minecraft gamers. So, in case you are nonetheless having this situation then you possibly can obtain it and see if the error will get fastened.
Replace 3 (June 09, 2022)
04:52 pm (IST): Based on Mojang’s official bug tracker, the crashing situation with the sport has now been resolved.
Replace 4 (June 13, 2022)
04:28 pm (IST): Gamers who’ve been affected by ‘Exit code -1’ situation are actually approaching Minecraft Community Support on Discord to get it fastened.
Replace 5 (June 14, 2022)
04:34 pm (IST): A Redditor has advised a workaround to repair this situation which includes reinstalling the sport with all of its contents.
Thanks for the recommendation guys- I lastly uninstalled and reinstalled Minecraft with all of It’s contents (was making an attempt to keep away from that). The reinstall labored. (Source)
Replace 6 (June 15, 2022)
01:18 pm (IST): A participant has confirmed that the crashing situation that occurs when utilizing Forge mods persists even in the newest 1.19 replace.
Replace 7 (June 16, 2022)
04:09 pm (IST): Right here’s a potential clarification and a workaround for the crashing situation on Minecraft: Java Version.

06:18 pm (IST): A Redditor has suggested that opening the sport in Administrator mode resolved the difficulty. This answer labored for the gamer round 3 months in the past, but it surely’s nonetheless price making an attempt and would possibly do the trick for you as nicely.
Replace 8 (June 20, 2022)
12:23 pm (IST): There’s one other potential workaround for these gamers who’re dealing with the difficulty:
All I did was set the java executable to C:Program FilesJavajdk-17.0.3.1binjavaw.exe
Thanks for the assist!
Source
Replace 9 (June 22, 2022)
05:29 pm (IST): In case you’re dealing with the ‘Exit code -1’ situation with Minecraft whereas utilizing OptiFine, then this is likely to be the explanation why:
Did you really extract OptiFine as a substitute of simply copying it someplace? As a result of the file title would counsel you didn’t. So… begin the installer utilizing Java and as a substitute of putting in it you’d extract it. Then copy the mod to the correct location. (Source)
A consumer responded with this info to a different particular person’s grievance about getting the error code. Following the suggestion, the consumer did verify that it certainly was the issue and the difficulty was resolved.
Thanks, that was the issue. (Source)
Replace 10 (June 24, 2022)
05:58 pm (IST): A redditor suggested that gamers on Chromebooks working Linux can strive updating drivers and allocating 4GB RAM so as to resolve the crashing situation.
Replace 11 (June 28, 2022)
04:45 pm (IST): One of many affected gamers has suggested that avid gamers can strive some different launchers akin to PolyMC or GDLauncher to repair the exit code situation.
Replace 12 (July 1, 2022)
02:20 pm (IST): A gamer suggested that updating Home windows to the newest model would possibly enable you resolve the Exit code glitch.
Replace 13 (July 4, 2022)
01:57 pm (IST): A Redditor has advised a workaround which may assist these affected to resolve this situation.
Workaround: in the event you’re going to make use of 1.8.9 use lunar, feather, or badlion consumer (Source)
Replace 14 (July 12, 2022)
05:36 pm (IST): A Redditor has suggested that gamers ought to strive different builds from here or one other model of the modpack.
Replace 15 (July 14, 2022)
02:20 pm (IST): Minecraft has launched a new update with v1.19.10. Gamers can set up it and see if it fixes the ‘Exit code -1’ situation.
Replace 16 (July 18, 2022)
10:34 am (IST): If gamers are getting ‘Exit code-1’ error when working Magnesium mod, then they will strive disabling it and regenerating the world once more to repair it.
You talked about you have got magnesium which is only a fork of sodium. Magnesium references sodium’s code in its fork which is why it mentions sodium within the crash report. Disable that and check out once more. (Source)
Replace 17 (July 19, 2022)
11:52 am (IST): Whereas avid gamers have been reporting that they’re getting ‘Exit code -1’ error when utilizing Forge mods, a Redditor now claims that this situation can also be affecting gamers with no mods in any respect.

Replace 18 (July 22, 2022)
06:36 pm (IST): Beneath is a video information suggesting some troubleshooting steps which may enable you repair this situation.
Replace 19 (July 25, 2022)
05:22 pm (IST): Minecraft has released a brand new RC replace with model 1.19.1. Nevertheless, the changelog doesn’t point out any repair for the ‘Exit code -1’ error.
Replace 20 (August 22, 2022)
06:08 pm (IST): One of many affected gamers has pointed out that CraftTweaker might be inflicting the sport to crash and throw ‘Exit Code 1’ error. Therefore, in case you have this mod, then it’s best to strive disabling it.
Replace 21 (November 8, 2022)
06:36 pm (IST): Some gamers have once more taken to Reddit (1, 2, 3) to report that they’re getting ‘exit code -1’. Nevertheless, the assist hasn’t but acknowledged these stories.
PiunikaWeb began as purely an investigative tech journalism web site with principal deal with ‘breaking’ or ‘unique’ information. Very quickly, our tales bought picked up by the likes of Forbes, Foxnews, Gizmodo, TechCrunch, Engadget, The Verge, Macrumors, and plenty of others. Wish to know extra about us? Head here.