Minecraft crashes, nothing comes?

th
19

I have the problem that when I start Minecraft, the bar loads and then there's a 0 game crash. There's nothing in the log. Just waiting for output.

Ac

Uninstalling and reinstalling MC may help.

la

When exactly does the GameCode error happen?

Ac

Do you have optifine?

th

There's only error code 0 and that a problem has occurred

th

Yes

la

I always have the error when Minecraft is in the background for too long

Pr

Do you use mods or resource packs?

th

Ok how can i fix this?

th

Optifine only and ZigZag V9

th

But I've always used it, and it worked

Pr

Does it mean if you start it without it, does it work? Then it's up to one of the two.

Pr

It is possible that you have updated java and the current version does not work

th

I have Java 1.8

Pr

Ok🤷♂️ haven't played mc for a long time, let alone games that use java. Try to create a Forge profile and load it in optifine and the other mod… Don't forget to assign enough ran to the profile.

th

I managed it, only jz comes a virtual machine (PS: I added more RAM)

th

Oh no, it was just a bug in Java

th

So I added a wrong argument, that's why it crashed

Pr

It can go that fast 😉😅

Po

"Exit Code: 0" means "Successfully executed". The Minecraft Launcher will display this code. However, this is not the correct exit code.

To find out the correct exit code, go to Settings in the launcher and check the Open output log when Minecraft: Java Edition starts.

If the "Minecraft game output" window opens when you start, remove the checkmark from info. There should be an exit code (marked in red).