1. Managing your Server
FSH Knowledgebase
  • Game Guides
    • Minecraft
      • How to change MOTD for a Minecraft server
      • How to download your Minecraft server world
      • How to install a custom Minecraft modpack
      • How to Install Datapacks to your server
      • How to upload a custom Minecraft world
      • What is the difference between Spigot Paper and PurPur
      • Reducing Lag
        • Reduce Lag on ForgeMC server
        • Reduce Lag on FabricMC server
      • Common Issues
        • How to Fix Authentication servers are down Please try again later
        • Failed to check session lock
        • Exception Server Tick Loop
        • Server Connection Timed Out
        • Fixing the Connection timed out getsockopt Error in Minecraft
      • Managing your Server
        • How to Optimize Your Server
        • How to set a custom seed on your Minecraft Server
        • Using Chunker to Convert Minecraft Worlds Across Editions
        • Which Java version to use for Minecraft server
        • Add Add-ons to your Bedrock Server
        • How To EnableDisableManage Your WhitelistAllowlist
      • Plugins
        • Simple Voice Chat
        • Dynmap
        • Bluemap
        • Chunky
    • Palworld
      • How to add mods to your Palworld Server
      • How To Update A Palworld Server
      • Resetting a Player's Save on a Palworld Server
      • Finding Your Palworld Server in the Community Servers List
      • Changing the Egg Hatching Time on a Palworld Server
      • How to Edit Palworld Server Settings
      • How to Become Admin on Your Palworld Server
  • Panel Knowledgebase
    • Game Server Panel
      • How to reset your Game Panel Password
      • Uploading Files Via SFTP
      • Adding Dev Sub Users
    • Client Area
      • Affiliate Program
      • Discord Linking
      • How to Cancel A Service
      • How to upgrade or downgrade your service
  • Service Knowledgebase
    • Virtual Private Servers (VPS)
      • Change Window Server Password Locked Out
      • Creating Your VPS
      • Developers and your VPS
      • How to connect to your VPS from any Linux or Debian Distro
      • Logging into your VPS Windows
      • Opening Ports on a VPS
      • Resetting your VPS Password
      • SSH Client Setup
  1. Managing your Server

Which Java version to use for Minecraft server

Minecraft servers run on Java, and each version of Minecraft requires a compatible Java version. Using the wrong Java version may prevent the server from starting or cause plugins, mods to fail during startup.

Java Version List#

Minecraft VersionJava Version
1.16.5 and belowJava 8
1.17Java 16
1.18 to 1.20.4Java 17
1.20.5 and aboveJava 21
📌
Some plugins or mods may require a newer Java version than the base Minecraft version. Always follow the Java version specified by the mod or plugin developer if one is listed.

How to change Java version for your server#

1.
Access your server from the gamepanel
2.
From the left side of the panel, open the Startup tab.
3.
Select the appropriate Java version from the Docker image area.
b64u-MDE5ZTFmMDgtOGQxYi03NmI2LTk3ODAtNzIyYmIwNmEyNDgy.png
4.
Start your server!

Modified at 2026-06-18 07:00:18
Previous
Using Chunker to Convert Minecraft Worlds Across Editions
Next
Add Add-ons to your Bedrock Server
Built with