Minecraft crashes on startup without mods: how to fix it
It is an annoying situation: no mods, a clean install, and Minecraft crashes on startup anyway. Often there is not even a clear error message — the window just closes. The good news is that a vanilla client fails for a fairly limited set of reasons, and almost all of them can be fixed in ten to fifteen minutes. Below is what to check in order and how to fix each case.
Read the log first instead of guessing
Before changing anything, find the actual error text. The default launcher does not show it in the window, but it writes it to a file.
- Official launcher: the .minecraft/logs folder, the latest.log file or hs_err_pidXXXX.log next to it.
- Launchers like Prism or MultiMC: the log opens right from the launch window with the Logs button.
- If the game crashes instantly and the log is empty, the problem is almost certainly outside the game: Java, memory or drivers.
Keywords in the log identify the cause quickly: "UnsupportedClassVersionError" means the wrong Java version, "OutOfMemoryError" means too little memory, "Pixel format not accelerated" means video drivers, "Failed to download" means network blocking or antivirus.
Java version is cause number one
The vanilla client requires a strict Java version, and this is the most common reason Minecraft crashes on startup without mods. Since 1.17 you need Java 16, since 1.18 — Java 17, from 1.20.5 up to 1.21.11 — Java 21. Older versions like 1.16.5 run on Java 8.
- Check which Java is installed: open the installation settings in the launcher and look at the executable path.
- Download the required version from Adoptium or Microsoft OpenJDK — both are free.
- In the launcher settings, point to the javaw.exe of the new version manually instead of relying on auto-detection.
- Launch the game and check the log: the class error should be gone.
One more thing: if several Java versions are installed, the launcher may pick the wrong one. Setting the path explicitly solves this immediately.
Memory: how much to allocate and why more is not better
By default the launcher gives the game about 2 GB. That is enough for a vanilla client, but on weak machines with tight RAM the launch can still fail. Raise it to 4 GB — that is enough for a clean game and even for light modpacks.
The opposite mistake also happens: people set 12–16 GB "just in case". With Java this works against you — the garbage collector takes longer, and the game may freeze or crash at startup. Stay in the 4–6 GB range unless you are running a heavy pack.
Also make sure you have 64-bit Java. A 32-bit build physically cannot allocate more than 1.5 GB and crashes at startup with any settings.
Video drivers and overlay conflicts
The "Pixel format not accelerated" error or just a black screen at launch means the video card. Update drivers from the manufacturer's site, not through Windows Update: the versions there are often outdated.
The second common culprit is third-party overlays. Discord, MSI Afterburner, RivaTuner, the GeForce Experience overlay and screen recorders hook the graphics context and crash the game at startup. Close them all and try again. If that helps, enable them one by one to find the offender.
What else to check in the system
- Antivirus and Windows Defender: add the .minecraft folder and the launcher folder to exclusions.
- Game path: Cyrillic characters and spaces in the path break the launch. Move .minecraft to C:\Games\minecraft.
- Corrupted files: delete the versions folder and re-download the client.
- Configs: if the game crashed before, delete options.txt and the config folder — they may be left corrupted.
When it is easier to install a clean launcher
If trying different Java versions and adjusting memory did not help and the log stays silent, the problem is often in the launcher itself: broken libraries, old assets, conflicting profiles. In that case, installing a fresh client is faster than repairing the current one.
Download the FoxyGame launcher — it installs the client and modpacks in one click, pulls the required libraries and assets automatically and does not require manual fiddling with Java paths. That is enough to test your hardware: if the vanilla client launches through it, the system is fine and the old launcher was the problem.
By the way, there is a separate option — Horizon, Minecraft rewritten in Rust. It installs through the same FoxyGame launcher in one click, updates automatically, has nightly and stable builds, SHA-256 signature verification and native Rust mods. It runs on Windows x64, targets Minecraft 26.3, and the official server is play.playhorizon.dev. If you want to see how the game behaves without Java at all, this is a decent test.
And once the client launches reliably and you want some variety, take a look at the Minecraft server list — there are both vanilla and modded options.
Mods and resource packs are not the issue, but wall decor is worth trying
Now that the game launches, you can get back to what you were after. If the standard paintings are boring, there is Paintings ++ for Minecraft: how to turn walls into part of the gameplay rather than just decor. The mod adds dozens of new canvases and lets you hang them with precise size and rotation control. Supported versions are 1.21.9, 1.21.8, 1.21.5, 1.21.11, 1.21.1 and 1.21, with NeoForge, Fabric and Forge loaders. It has been downloaded 47,033,850 times — the number speaks for itself.
Download Paintings ++ for Minecraft: how to turn walls into part of the gameplay rather than just decor from the site; installation through the launcher takes a couple of minutes.
Frequently asked questions
Minecraft crashes on startup without mods and the log is empty — what to do?
An empty log means the game crashes before the Java code starts. Check in this order: Java bitness and version, allocated memory, video drivers, third-party overlays. In 90% of cases the cause is one of these four.
How much RAM should I allocate if the game crashes?
4 GB is enough for a vanilla client. Do not set more than 6 GB without a heavy pack — performance will likely drop. And make sure Java is 64-bit: a 32-bit build cannot allocate more than 1.5 GB.
Will reinstalling Minecraft help?
Sometimes yes, but first try deleting only the versions folder and re-downloading the client. A full reinstall that wipes .minecraft erases worlds and settings, so back up the saves folder first.
The game crashes only on new versions, older ones work fine. Why?
Most likely your Java is outdated. Versions 1.20.5 and above require Java 21, 1.18–1.20.4 require Java 17. Install the right version and set the path to it manually in the launcher.
Can antivirus crash the game at startup?
Yes, especially Windows Defender and third-party antivirus with heuristics. They block writes to the .minecraft folder or library downloads. Add the game folder and the launcher to exclusions and check again.