Use the Java runtime required by the exact Minecraft server release. Java 17 covers Minecraft 1.18 through 1.20.4, while Minecraft 1.20.5 and later require Java 21 in the documented compatibility map. For a 1.21 server, Java 21 is the practical baseline. Always confirm the server implementation’s own release notes before upgrading, because newer lines can raise the requirement again.
Prefer not to run the server on your own PC? Godlike.Host offers hosted Minecraft Java servers with free DDoS protection and up to three free backups a day.
Java requirements at a glance
The Java version is a compatibility floor, not a performance rating. A server JAR built for a newer Java release will not start on an older runtime, even if the computer itself is powerful enough. Conversely, installing the newest Java available does not guarantee that every legacy mod, plugin, or loader will work with it.
As an Amazon Associate I earn from qualifying purchases.
| Minecraft or server release | Minimum Java version | Practical interpretation |
|---|---|---|
| Minecraft 1.12–1.16.5 | Java 8 or newer | Use the Java version tested by your mod and plugin stack; older software may not accept a modern runtime. |
| Minecraft 1.17–1.17.1 | Java 16 or newer | Java 16 is the documented floor for these releases. |
| Minecraft 1.18–1.20.4 | Java 17 or newer | Java 17 is the normal baseline for vanilla and most compatible server implementations in this range. |
| Minecraft 1.20.5 and newer in the documented map | Java 21 or newer | Java 21 is the normal choice for 1.20.5, 1.20.6 and the 1.21 family. |
| Spigot Minecraft 26.1 listing | Java 25 or newer | Spigot’s current site result gives this project-specific requirement. Verify the exact build and release notes before installing. |
The table describes minimums. If Paper, Spigot, a mod loader, or a hosting provider names a tested Java distribution or patch level, follow that project guidance rather than treating the minimum as a universal recommendation.
How to identify the version your server actually uses
Do not choose Java from the version of the Minecraft client alone. Identify the server JAR or server profile you will launch. A filename such as server-1.20.1.jar, a launcher profile, or a hosting panel’s software selector normally exposes the exact release. Modified JARs can include a project name instead of a plain version, so check that project’s compatibility page when the filename is ambiguous.
#1 Best Overall
- [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
- [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
- [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
- [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
- [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.
Record all of the components that must agree:
- the Minecraft release, such as 1.20.1 or 1.21.1;
- the server implementation, such as vanilla, Paper, or Spigot;
- the mod loader and mods, if the server is modded;
- the plugins and their supported Minecraft and Java versions; and
- the operating system and the account or service that will launch Java.
This inventory prevents a common mistake: installing Java 21 because the server is “1.21-era” while accidentally launching an older world with a legacy mod pack that was only tested on Java 8 or 17.
Specific answers for common Minecraft releases
Does Minecraft 1.20.1 need Java 17?
Yes. Minecraft 1.20.1 falls within the 1.18–1.20.4 range, whose documented minimum is Java 17. A Java 17 runtime is therefore the compatibility baseline for a 1.20.1 server. If your mod pack or server software documents another tested runtime, use that documented choice; do not change Java merely because a newer release exists.
Do you need Java 21 for a 1.21 server?
For the 1.21 family, Java 21 is the practical baseline. The same runtime also covers the documented Java requirement for Minecraft 1.20.5 and newer. Confirm the exact server build, especially when using a snapshot, a fork, or a future release whose documentation may raise the baseline.
What about Minecraft 1.20.6?
Paper’s compatibility guidance specifically identifies Java 21 for Minecraft 1.20.6. Running Paper 1.20.6 with Java 17 can produce a startup failure even though Java 17 works for earlier 1.20 releases.
Rank #2
- 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
- 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
- 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
- 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
- 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
Vanilla, Paper and Spigot do not share one permanent rule
Vanilla server
Vanilla follows the Java baseline associated with the Minecraft release. Mojang’s server documentation states: “For Java Edition: You must have a compatible Java Runtime Environment (JRE) installed to launch the server .jar file.” The runtime must also be available from the command line; on Windows, that can require adding Java to PATH.
Paper
Paper is version-specific, so its build documentation is authoritative for the precise release. For example, Paper identifies Java 21 for Minecraft 1.20.6. Treat a Paper requirement as applying to that Paper build, not automatically to every older or newer Paper version.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Spigot
Spigot’s installation guidance likewise tells operators to use Java compatible with the Minecraft version. Its current site result lists Java 25 or later for Minecraft 26.1. That is a project and release statement, not a reason to move every existing server to Java 25. Check the exact Spigot build you intend to run and keep the runtime aligned with its documentation.
Paper and Spigot can use the same Java installation as vanilla when they target the same Minecraft generation and their plugins support that runtime. “Same Java” means the same major runtime is suitable; it does not mean every plugin stack is interchangeable.
Rank #3
- [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
- [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
- [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
- [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
- [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by
JRE or JDK: which one should a server owner install?
Launching a compiled server JAR requires a Java Runtime Environment. A JRE supplies the runtime needed to execute the server. A Java Development Kit also includes that runtime plus compiler and development tools.
- Choose a JRE when you only need to run vanilla, Paper, Spigot, or a compiled modded server.
- Choose a JDK when you build plugins, compile mods, develop server software, or use administration tools that explicitly require development utilities.
- If a hosting provider supplies Java, you normally do not install either package yourself; verify which major version the host exposes.
The important distinction is not the label on the download page but the major Java version and the executable that the server process actually invokes.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Set up and verify the correct Java runtime
Use this sequence for a self-hosted server. It applies whether you start the JAR manually, with a script, or as an operating-system service.
- Identify the server release. Read the JAR filename, launcher profile, or hosting panel and note the exact Minecraft and implementation versions.
- Check the project requirement. Match the release to the version map above, then read the vanilla, Paper, Spigot, mod-loader, and plugin notes for any stricter requirement.
- Install a supported JRE or JDK. Install the major version that meets the requirement. Keep an older runtime available if a separate legacy server still depends on it.
- Open the same environment used to start the server. In a terminal, run
java -version. This is essential when a service account, container, scheduled task, or control panel starts the server rather than your desktop account. - Confirm the executable path if more than one Java is installed. The version reported by the launch environment must be the one intended for this server. A correct installation can appear “missing” when PATH still points to an older Java directory.
- Start the server with an explicit command or script. A typical launch command is
java -jar server.jar; use the real JAR filename and the memory options recommended for your setup. Do not assume that opening the JAR by double-clicking uses the same Java shown in your terminal. - Read the first startup lines. Confirm the reported Java version and stop if the server, loader, or plugins report an unsupported runtime.
On Windows, PATH configuration is a frequent issue. On Linux or macOS, shell profiles, systemd units, Docker images, and control-panel services can each define a different PATH. Run java -version inside the service or container context when possible, not only in your personal shell.
Rank #4
- Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
- Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
- All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
- Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
- Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.
Fixing “UnsupportedClassVersionError”
This error means that Java is trying to load a class compiled for a newer Java release than the runtime currently executing it. In practical terms, the server JAR, a mod, or a plugin needs a newer Java than the command found on PATH.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteIf the server itself triggers the error
- Read the error’s “compiled by a more recent version” wording and identify which JAR was being loaded.
- Check the Minecraft and server implementation version against the compatibility table.
- Run
java -versionin the exact launch context. - Install or select the required major version, then update PATH, the startup script, the service unit, container image, or hosting-panel setting.
- Restart the server and verify the Java version in the startup log.
If only a mod or plugin triggers it
The base server may be compatible while one add-on was compiled for a newer Java. Check that add-on’s release notes, install a version built for your runtime, or move the entire stack to the newer Java only after confirming that the remaining mods and plugins support it. Randomly replacing one JAR rarely fixes a mixed-version stack.
Minimum compatibility versus a tested runtime
“Java 17 or newer” does not promise that Java 22, 23, or a later release will work with every old plugin. The minimum tells you the lowest supported floor for that release. Project-tested versions reflect what maintainers have validated with their libraries, launch scripts, and integrations.
Use this decision rule:
- New server, current software: choose the project’s recommended long-term-support major version, such as Java 21 for the documented 1.20.5–1.21 era.
- Established mod pack or plugin collection: keep the runtime already tested by that collection unless an upgrade is required for a security or compatibility fix.
- Multiple servers on one machine: install multiple Java majors and point each startup script to its own executable instead of forcing every server onto one global PATH entry.
- Future or unusual release: defer to the exact server build’s release notes. The Java 25 requirement reported for Spigot 26.1 illustrates why a version map cannot remain permanent.
Local hosting versus managed hosting
On a home or rented virtual machine, you control Java installation, PATH, memory settings, firewall rules, backups, and updates. Mojang notes that external players may also require port forwarding and firewall configuration. Java selection is only one part of making the server reachable.
Best Value
A managed host may preinstall compatible Java and expose a version selector, reducing PATH and operating-system work. You still need to choose the correct Minecraft/server build and verify what Java the host actually runs. A host’s “latest Java” option can be wrong for an older mod pack, so retain the project’s compatibility requirement when opening a support ticket or changing plans.
Recommended Free Tools
Upgrading Java, Minecraft and worlds safely
Change one major variable at a time. Before changing Java, the server implementation, or the Minecraft release, stop the server cleanly and create a complete backup of the world, configuration files, plugin or mod directories, and startup scripts.
- Test the new runtime with a copy of the world rather than the only production copy.
- Check plugin and mod compatibility before allowing players to connect.
- Keep the previous Java installation and launch command until the new combination has started successfully and passed a join test.
- Document which Java executable each server uses so a system update does not silently redirect it.
Mojang’s 1.21.1 notice recommends that server owners upgrade to that release to address critical exploits and says players on 1.21 can join 1.21.1 servers. Security updates can therefore justify a coordinated server upgrade, but backups and compatibility checks remain necessary.
Quick Recap
Final pre-launch checklist
- Exact Minecraft version identified.
- Vanilla, Paper, Spigot, mod-loader and plugin requirements checked.
- Java major version meets the documented minimum.
java -versiontested in the same account, service, container or panel context that launches the server.- Startup script points to the intended Java executable.
- World and configuration backups completed.
- Firewall and port-forwarding rules reviewed for external players.
- Startup log confirms the expected Java version and shows no class-version errors.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




