Minecraft Snapshot 21w40a Server Jar Download
Also known as snapshot, pre-release, release candidate.
Minecraft Snapshot 21w40a is a weekly development snapshot of Minecraft: Java Edition leading up to 1.18, published by Mojang on 7 Oct 2021. Its dedicated server jar is 37.9 MB and requires Java 16 or newer. The final Minecraft 1.18 was released on 30 Nov 2021.
Download
Download server.jar37.9 MB
Downloads from piston-data.mojang.com — Official — Mojang.
- SHA-1 · published by Mojang
84496ec4beeeae34a448b99f3e3d890066f6807f
How to verify this file on Windows, macOS and Linux.
Version facts
| Published by Mojang | |
|---|---|
| Channel | Preview (weekly) |
| Required Java | Java 16 or newer · Temurin 16 |
| File size | 37.9 MB |
| Licence / terms | Minecraft EULA |
| Upstream project | www.minecraft.net |
What changed
Newest upstream commits:
- #1 · 7 Oct 2021 World generation tweaks
- Changes to mob spawning
- Copper Ore now drops 2-5 (from 2-3) Raw Copper items
- In the Stonecutter, a Block of Copper can be converted to four Cut Copper
- A bunch of biome variant with similar features but different shapes have been merged into one, since the shape is controlled independently now
Compatibility
No plugins or mods — the unmodified game exactly as Mojang ships it (data packs still work).
Players need a Minecraft: Java Edition Snapshot 21w40a client on the same version.
Minecraft Snapshot 21w40a in other server software
Known issues & safety notes
- Preview builds are experimental: they can corrupt or irreversibly upgrade worlds, and most plugins and mods do not support them yet. Test on a copy of your world.
How to set up Minecraft Snapshot 21w40a
- Install Java 16 or newer (e.g. Eclipse Temurin) and check it with
java -version. - Download
server.jarfrom Mojang (button above) into an empty folder. - Start it once with the script below; it creates
eula.txtand stops. - Set
eula=trueineula.txtto accept the Minecraft EULA, then start again. Players join on port25565.
Linux / macOS — start.sh
#!/bin/sh
# start.sh — Minecraft 21w40a
cd "$(dirname "$0")"
JAVA_MAJOR=$(java -version 2>&1 | awk -F'"' '/version/ {split($2, v, "."); print (v[1] == "1") ? v[2] : v[1]}')
if [ "$JAVA_MAJOR" -lt 16 ] 2>/dev/null; then
echo "Java 16 or newer is required (found Java $JAVA_MAJOR)."
exit 1
fi
java -Xms4G -Xmx4G -jar server.jar nogui
Windows — start.bat
@echo off REM start.bat — Minecraft 21w40a REM Needs Java 16 or newer: run "java -version" to check. java -Xms4G -Xmx4G -jar server.jar nogui pause
Rule of thumb: 2–4 GB for a few friends, 6–10 GB for a public server with plugins. Set -Xms equal to -Xmx and leave 1–1.5 GB for the operating system. How much RAM?
Docker
docker run -d -p 25565:25565 -e EULA=TRUE -e TYPE=VANILLA -e VERSION=21w40a --name mc itzg/minecraft-server
Uses the community itzg/minecraft-server image, which downloads the file itself.
Upgrading
FAQ
What Java version does Minecraft Snapshot 21w40a need?
Minecraft Snapshot 21w40a needs Java 16 or newer. Running it on an older Java fails with an UnsupportedClassVersionError mentioning class file version 60.0.
Is Minecraft Snapshot 21w40a safe for my survival world?
Only on a copy. Preview versions are experimental and upgrade worlds irreversibly; keep a backup and don't switch a live world to a snapshot, pre-release or release candidate.
Is this the Minecraft game or an APK?
No. This is the Java Edition dedicated server — software for hosting a world. It is not the game client and there is no Android APK. Phone and console players use Bedrock Edition.