Minecraft 1.18 Pre-Release 2 Server Jar Download
Also known as snapshot, pre-release, release candidate.
Minecraft 1.18 Pre-Release 2 is a pre-release of Minecraft: Java Edition leading up to 1.18, published by Mojang on 16 Nov 2021. Its dedicated server jar is 44.1 MB and requires Java 17 or newer. The final Minecraft 1.18 was released on 30 Nov 2021.
Download
Download server.jar44.1 MB
Downloads from piston-data.mojang.com — Official — Mojang.
- SHA-1 · published by Mojang
c203586f5d2c02b417f0e104b65a8e5e7625b2f8
How to verify this file on Windows, macOS and Linux.
Version facts
| Published by Mojang | |
|---|---|
| Channel | Preview (pre) |
| Required Java | Java 17 or newer · Temurin 17 |
| File size | 44.1 MB |
| Licence / terms | Minecraft EULA |
| Upstream project | www.minecraft.net |
What changed
Newest upstream commits:
- #1 · 16 Nov 2021 MC-32813 Floating water / lava above caves / cave carver doesn't update water
- MC-206303 Minecarts have old textures on the bottom
- MC-217038 Large dripstone structures can be generated outside the caves
- MC-217056 Some high-speed particles lag/freeze the game
- MC-220061 Painting back texture is mirrored
Compatibility
No plugins or mods — the unmodified game exactly as Mojang ships it (data packs still work).
Players need a Minecraft: Java Edition 1.18 Pre-Release 2 client on the same version.
Minecraft 1.18 Pre-Release 2 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.
- Log4Shell (CVE-2021-44228): Minecraft 1.18 is vulnerable. Upgrade to 1.18.1; if you cannot, add
-Dlog4j2.formatMsgNoLookups=trueto the Java start command (Mojang advisory).
How to set up Minecraft 1.18 Pre-Release 2
- Install Java 17 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 1.18-pre2
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 17 ] 2>/dev/null; then
echo "Java 17 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 1.18-pre2 REM Needs Java 17 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=1.18-pre2 --name mc itzg/minecraft-server
Uses the community itzg/minecraft-server image, which downloads the file itself.
Upgrading
FAQ
What Java version does Minecraft 1.18 Pre-Release 2 need?
Minecraft 1.18 Pre-Release 2 needs Java 17 or newer. Running it on an older Java fails with an UnsupportedClassVersionError mentioning class file version 61.0.
Is Minecraft 1.18 Pre-Release 2 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.