Yesterday I got a new laptop, a Samsung galaxy book s, wanted to play a little Minecraft, downloaded it, started it, etc. And the error message "Exit Code 0" came up. No logs were created, I got it everywhere Internet looked for possible sources of error, videos, etc. However, nothing found. Java reinstalled, updated, driver updated, etc. I don't know. Ask for your help.
"Exit Code 0" is a false error message, it stands for "Successfully executed". You can look for a long time.
To get the correct error message:
In the Minecraft launcher, click on Settings (bottom left), and then on "Open output log as soon as games start". Then you start the game and after a short time an output log will open. In this you only tick Warn, Error and Fatal. As soon as the game crashes, the correct error code will appear there.
You can either google it yourself or send it in here, then I will find the solution for you.
First of all, thank you for the quick answer, yes I already wrote that, no logs were created. There's only "waiting for log output…" (if I can wait hours, nothing comes) in Minecraft. No folders were created either. At the beginning I had something in the logs, then not anymore, it said "Exit Code 1".
Actually has nothing to do with the logs.
So was the output log really only "waiting for log output…"? No error code? Otherwise nothing?
No, just that, nothing else. I don't know what else I can do either, I've been looking for solutions for hours
I've just started Minecraft again and finally a complete game output, there's now error code 1, send it in here:
15: 37: 18.341
launcher
Main
Waiting for 2641 futures
15: 37: 26.473
launcher
Main
Checking installations.
15: 37: 26.490
launcher
Main
Minecraft client 1.16.5 requires 17547153 bytes to download.
15: 37: 26.492
launcher
Main
Starting!
15: 37: 26.492
launcher
Main
Downloading 1 files
15: 37: 33.148
launcher
Main
Download from https://launcher.mojang.com/...client.jar" class="text-primary">https://launcher.mojang.com/...client.jar passed checksum check.
15: 37: 33.148
launcher
Main
Downloaded https://launcher.mojang.com/v1/objects/37fd3c903861eeff3bc24b71eed48f828b5269c8/client.jar to C: \ Users \ jding \ AppData \ Roaming \ .minecraft \ versions \ 1.16.5 \ 1.16.5.jar
15: 37: 33.150
launcher
Main
Downloads successful
15: 37: 33.151
launcher
Main
TIMER: Downloads took 6 seconds.
15: 37: 33.151
launcher
Main
Extracting 8 files!
15: 37: 34.143
launcher
Main
Using default game log configuration client-1.12.xml (outputs XML)
15: 37: 34.143
launcher
Main
Installing versions!
15: 37: 34.797
launcher
Main
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
15: 37: 34.798
monitor
Process Monitor
Process crashed with exit code 1
Ah ok!
The problem is that you are allocating more RAM than allowed. This is probably because your Java is the 32-bit version.
Download the 64-bit version of Java here: https://www.java.com/...manual.jsp
You probably need this: Windows Offline (64-bit). Just download and install.