Minecraft Java · Windows / Linux
start.bat Generator
Choose a server, mod loader or proxy, configure Java, and download a launcher for Windows or Linux.
Server settings
Or configure everything manually below.
Versions come from the official API, not a manually written list.
Check the instructions for the exact version you installed.
Enter the executable server file, not the installer or a plugin.
Install the server first. Find the folder containing win_args.txt or unix_args.txt under libraries. Enter only that folder name.
RAM estimate only; does not set max-players in server.properties.
Additional startup settings
Adjusts approximate RAM recommendations.
server.jar, paper.jar — no paths or spaces.
Special flags aren't always faster.
What's Xms, Xmx and JVM?
Xms is starting Java heap; Xmx is the maximum heap. The operating system and Java use memory on top of Xmx. JVM flags aren't mandatory. Minecraft EULA is accepted manually.
Advanced information
The site never connects to your PC/VDS. start.bat downloads an official server.jar and checks its hash. EULA must be accepted manually. Keep 1–2 GB of RAM for the OS and other services.
First launch
- Install the Java version shown below. Run
java -versionin the terminal to make sure it is selected. - On Windows, save
start.batin your server folder and open it. On Linux, runbash start.sh. Check the Linux server folder shown beside the selected software. - Read the EULA. If you agree, set
eula=trueineula.txt, then run the same script again. Usestopin the server console to shut it down safely.
Before your first server launch
- Check your selected Minecraft version and Java version.
- Ensure that enough RAM remains for the operating system.
- Verify the JAR origin and checksum when downloading it.
- Back up an existing server before changing files.
- Read and accept Minecraft EULA manually if you agree.
These are preparation steps, not automatic checks of your computer.
Windows, Linux and hosting
Use the generated command
Choose the installation scenario that matches your operating system or host.
Windows · start.bat
- Place the chosen server JAR in its own directory.
- Download start.bat from the generator and place it beside the JAR; verify the .bat extension.
- Check java -version and run the script in Command Prompt; read eula.txt after first startup.
Linux · SSH and shell
- Create a dedicated server directory and upload the official JAR.
- Select Linux mode and save the command in start.sh or run it through SSH.
- Check permissions, run chmod +x start.sh, and start as a dedicated user; set up a managed service for persistence.
Hosting panel · startup command
- Check the RAM limit and Java version allowed by your plan.
- In the panel’s startup settings, choose the JAR and only supported JVM parameters.
- Start through the panel, inspect the console, and accept EULA after reading it if you agree.
Settings and troubleshooting
Startup reference
Short explanations of the parameters and common mistakes.
Minecraft version and implementation
Make sure an official JAR exists for the selected release. Paper and Vanilla differ in plugin support and behavior.
Java version
Required Java depends on Minecraft and the chosen implementation. Check official build requirements and the output of java -version.
Xms and Xmx
Xms is initial heap and Xmx is maximum heap. Leave RAM headroom because total JVM memory goes beyond the heap.
JAR name and working directory
The -jar argument must match the file in the working directory exactly. A mismatch causes a JAR access error.
Vanilla, Paper, and plugins
Vanilla does not load Bukkit plugins. For Paper, also verify that plugins support the target server build.
GC and JVM flags
Start with default JVM behavior. Tune garbage collection only after measuring pauses and checking flag support in your Java version.
EULA and first start
Read eula.txt after the initial launch. Accept the terms yourself; configure server.properties after first-run initialization.
Downloads and backups
Get JAR files from official sources. Back up the world, configuration, and plugins before updates, then verify console output.
Official references: PaperMC · Paper start scripts · Minecraft
FAQ Frequently asked questions30 questions
Answers to frequent questions about setting up and starting a Minecraft Java server.
Getting started 5 questions
What does the start.bat generator do?
It builds a Minecraft Java server launch command from your chosen settings. Check the JAR filename, installed Java version, and memory limit before running it; the generator does not install Java.
Can I use it for Minecraft Bedrock?
No. The java -jar commands apply to Minecraft Java Edition. Bedrock Dedicated Server has a different executable and launch process.
Should I choose Vanilla or Paper?
Vanilla is Mojang’s official server for the base game without Bukkit plugins. Paper is intended for compatible plugins and additional settings; verify each build’s requirements before downloading.
Where do I get the server JAR?
Download Vanilla from the official Minecraft server page or Paper from official PaperMC builds. Keep the JAR in a dedicated server directory and match its name in the startup command.
Are versions from 1.16 supported?
The command generator can prepare launch commands for selected Minecraft Java versions, but a particular server JAR depends on the verified official build registry. Mentioning 1.16 does not guarantee that every intermediate build is available or works with the same Java version.
Windows and start.bat 4 questions
How do I save a real start.bat file?
In Notepad, use Save As, choose All files, and enter start.bat. Make sure Windows did not append .txt; enable file extensions in File Explorer to verify the result.
Where should I place start.bat?
Put it in the same directory as the chosen server JAR when the command uses a relative filename. Then java -jar server.jar can locate the JAR without a full path.
Why does my server window close right after I open start.bat?
Open Command Prompt in the server folder and run start.bat there so the error remains visible. Check Java, the JAR filename, EULA, and memory; a pause can expose the error but will not fix it.
Can I automatically restart the server?
If retry is enabled, the script makes one more attempt 10 seconds after a failure. It skips the retry after a clean stop or before you accept the EULA.
Linux and SSH 4 questions
How does the Linux script differ from .bat?
Linux normally uses a .sh shell script or a command entered through SSH. Windows syntax such as @echo off and pause does not apply; select Linux in the generator.
How do I make start.sh executable?
If the file has a valid shebang and shell commands, run chmod +x start.sh in the server directory. Start it with ./start.sh as a dedicated server user, not root.
What if the server stops when SSH disconnects?
A process started in an interactive SSH session may terminate when the session ends. Use a correctly configured systemd service or managed screen/tmux session for persistent operation, with logs and a controlled shutdown.
Why does Linux say Permission denied?
Check the server user’s directory permissions, execute permission on the .sh script, and read access to the JAR. Do not solve this by running Minecraft as root; fix ownership and permissions on the required files only.
Hosting panels 4 questions
Can I paste the command into a hosting panel?
Yes, if your provider allows editing the startup command. Some panels manage memory and Java themselves; use their dedicated fields rather than overriding managed settings.
Why does my host ignore Xmx?
The provider may enforce a container memory limit and generate JVM parameters. Check your plan limit, startup variables, and panel documentation; ask the host’s support team when needed.
Where do I upload the JAR in a file manager?
Usually to the server’s configured working directory alongside its files. Back up the existing JAR before replacement and make sure its filename matches the startup configuration.
Do I need start.bat on a Pterodactyl-style host?
Usually not: the container starts Java using its own startup command. Select hosting mode and use only parameters the panel permits; a local Windows .bat is not needed for a Linux server.
Java, memory and JVM 5 questions
What does -Xmx mean?
It sets the maximum Java heap used for application objects. It is not the process’s total RAM consumption: the JVM, threads, and operating system also require memory.
What does -Xms mean?
It specifies the initial Java heap size. It must not exceed -Xmx; matching values are valid when enough RAM is available, but reduce allocation first on memory-constrained systems.
Can I allocate all computer RAM to the server?
No. Leave headroom for the operating system, background tasks, and JVM memory outside the heap; otherwise the process may stall or be killed by OOM. On hosted containers, follow the provider’s limit.
Which Java version does the server need?
It depends on the Minecraft release and server implementation; one Java version does not cover every release from 1.16 onward. Check the official build requirements and verify the installed version with java -version.
Should I enable Aikar flags?
Not necessarily. Modern JVMs usually work well with default settings; consider special flags when diagnosing actual GC issues and verify support on the installed Java version.
Errors and troubleshooting 5 questions
Why does start.bat say "Unable to access jarfile server.jar"?
Check the exact server filename and current working directory. If your command says server.jar but the file is paper-xxx.jar, update the parameter or filename while retaining a backup.
Why do I get UnsupportedClassVersionError when launching?
The JAR was usually compiled for a newer Java version than the server is running. Check that build’s Java requirements, install the matching runtime, and confirm with java -version.
Why does Could not reserve enough space appear?
The JVM could not reserve the requested memory: the heap may be too large, the container limited, or the Java architecture unsuitable. Lower Xmx/Xms, verify 64-bit Java, and check the actual RAM limit.
What if the server starts but players cannot join?
First confirm startup completed without errors and that the server is listening on the expected port. Then check address, firewall, NAT/port forwarding, and host rules; expose only necessary ports.
Why is the server not creating a world?
Check the console and logs/latest.log: causes can include Java mismatch, missing write permissions, EULA, or damaged files. Back up the world before removing anything and retain the exact error message.
Security and maintenance 3 questions
What is eula.txt, and can it be accepted automatically?
A Minecraft server normally creates eula.txt on first launch. Read the terms and change eula=false to true only if you agree; the generator must not claim your consent for you.
How do I safely update the server JAR?
Shut down the server properly, back up the world, settings, and plugins, and replace the JAR with a verified compatible build. Check console output, world data, and plugins afterward, keeping a rollback path.
Is it safe to download server JARs from random sites?
No: a server JAR executes code on your computer or VPS. Use official sources, verify builds and checksums when available, and never run unknown files with elevated privileges.
Rate this tool
Did this tool work for you? Tell us what went well or what could improve.
Sign in to leave a review