Minecraft 1.17 Pre-Release 5 Server Jar Download
Also known as snapshot, pre-release, release candidate.
Minecraft 1.17 Pre-Release 5 is a pre-release of Minecraft: Java Edition leading up to 1.17, published by Mojang on 3 Jun 2021. Its dedicated server jar is 41.6 MB and requires Java 16 or newer. The final Minecraft 1.17 was released on 8 Jun 2021.
Download
Download server.jar41.6 MB
Downloads from piston-data.mojang.com — Official — Mojang.
- SHA-1 · published by Mojang
31bb40019e8d6e64299abafd743f4d3e1a1a68b2
How to verify this file on Windows, macOS and Linux.
Version facts
| Published by Mojang | |
|---|---|
| Channel | Preview (pre) |
| Required Java | Java 16 or newer · Temurin 16 |
| File size | 41.6 MB |
| Licence / terms | Minecraft EULA |
| Upstream project | www.minecraft.net |
What changed
Newest upstream commits:
- #1 · 3 Jun 2021 MC-225707 - Caves and Cliffs Datapacks Server Error
- MC-227065 - Cannot Invoke "na.b(String, int)" because "☃ is null
- MC-227207 - Datafixer doesn't properly update certain scoreboard objectives from 1.16 to 1.17
- MC-227208 - Breaking bamboo is excessively laggy since the 1.17 pre-releases
- MC-227232 - Player head SkullOwner tag with username string no longer works
Compatibility
No plugins or mods — the unmodified game exactly as Mojang ships it (data packs still work).
Players need a Minecraft: Java Edition 1.17 Pre-Release 5 client on the same version.
Minecraft 1.17 Pre-Release 5 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): for the vanilla 1.17 server Mojang says to add
-Dlog4j2.formatMsgNoLookups=trueto the Java start command (Mojang advisory).
How to set up Minecraft 1.17 Pre-Release 5
- 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 1.17-pre5
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 1.17-pre5 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=1.17-pre5 --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.17 Pre-Release 5 need?
Minecraft 1.17 Pre-Release 5 needs Java 16 or newer. Running it on an older Java fails with an UnsupportedClassVersionError mentioning class file version 60.0.
Is Minecraft 1.17 Pre-Release 5 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.