Which Java do I need for Minecraft?
Type your server's version or paste the error you get when starting it, and we'll tell you which Java to install.
Minecraft version or the console error
Or pick one
Minecraft 1.21.1 needs
Java 21 or newer
On your PC: install Eclipse Temurin 21 from adoptium.net and check it with java -version.
NeoForge 1.21.1 server, ready in the panel (in Spanish)
Fabric 1.21.1 server, ready in the panel (in Spanish)
At NapNodes you don't install anything: when you pick the type and version in “Mods & plugins” → “Server type”, the panel sets the right Java.
Create your free Minecraft serverMinecraft and Java versions at a glance
| Minecraft 26.1 and later | Java 25 |
|---|---|
| Minecraft 1.20.5 to 1.21.x | Java 21 |
| Minecraft 1.18 to 1.20.4 | Java 17 |
| Minecraft 1.17 and 1.17.1 | Java 16 · Java 17 works too. |
| Minecraft 1.16.5 and earlier | Java 8 · With Forge and mods from that era, exactly Java 8: with a newer one they often fail on startup. |
Frequently asked questions
Which Java does Minecraft 1.21 need?
Java 21 or newer, like every version since 1.20.5. From 26.1 (March 2026), Java 25.
What does “class file version 65.0” mean?
That what you're starting was built for Java 21 and your Java is older. The maths: 52 is Java 8, 61 is Java 17, 65 is Java 21 and 69 is Java 25 (the version minus 44).
Can I use a newer Java than it asks for?
From 1.17 on, usually yes. Before that, and above all with Forge, stick to exactly Java 8: with a newer one they often fail on startup with “Unsupported class file major version”.
What if I have several Java versions installed?
The server uses the first one it finds. To choose one, put its full path in the start script instead of just “java”.
Going deeper (in Spanish): how to create a Minecraft server, how to update its version and Paper, Fabric, Forge or NeoForge.
More free tools
Is my Minecraft server online?
Type a Minecraft server address and see whether it responds, how many are playing, its version and its MOTD.
Is my Valheim server online?
Type a Valheim server's address and port and see whether it responds, how many are playing and its name.
Is my Project Zomboid server online?
Type a Project Zomboid server's address and port and see whether it responds, how many are playing and its name.
Minecraft RAM calculator
How many GB your Minecraft server needs for its plugins or mods, the players online at once and the view distance.
How much RAM do I need? (every game)
Minecraft, Hytale, Project Zomboid, Valheim or a Discord bot: pick the game, players and mods, and see the plan that fits.
server.properties editor
Paste your server.properties, change each option with a plain-English explanation and download it. It flags the ones that no longer work.
MOTD generator
The server list message with colours and styles, a live preview and the line ready for server.properties.
Chunky pre-generation calculator
How much disk and time pre-generating your world with Chunky takes for a given radius, with the console commands ready.
Nether portal calculator
Convert Overworld coordinates to the Nether and back to link portals without duplicates. Paste your F3 line.
Project Zomboid mod list
Paste Workshop links and Mod IDs and get WorkshopItems= and Mods= written correctly, with the Build 42 backslash.
Project Zomboid settings editor
Paste your .ini and SandboxVars.lua (or start from scratch), change their 400+ options with a search box, and download them.
Minecraft UUID lookup
Type a Minecraft Java username and get its UUID, the offline one and the lines for whitelist.json and ops.json.
/give command generator
Items with enchantments, a coloured name and lore: the /give command written right for your Minecraft version.
/summon command generator
Mobs with a coloured name, more health, another size, gear or standing still: the /summon command written right for your version.
Server name generator
Name ideas for your server by game and style, with your own word if you like, and what its address would look like.
/tellraw and /title generator
Messages with colours, bold and click actions in chat or across the screen: the /tellraw or /title command ready to copy.
Gradient text generator
Type some text, pick the colours and get the gradient in “&#”, MiniMessage or “&x” for chat, the MOTD or plugins.
Server icon maker
Upload an image (or type a few letters) and get the 64×64 server-icon.png Minecraft asks for, ready for Files.
Slime chunk finder
Enter the seed and your coordinates and see the slime chunks nearest to you on a map of your Minecraft Java world.
SteamID64 finder
Paste a Steam link, a username or a STEAM_0 ID and get every form of the ID and the adminlist.txt line for Valheim.
What does it cost in electricity?
What it costs in electricity to keep the server running on your PC at home, side by side with a plan and the free server.
start.bat generator
The start.bat or start.sh for your Minecraft server with the RAM set right and Aikar's flags, ready to download.
Discord bot permissions calculator
Tick your bot's permissions and get the number and the invite link; or paste a number and see which permissions it grants.