EULA Not Accepted
On its very first start, a Minecraft server generates an eula.txt and then stops, telling you to agree to the EULA. This is expected: Mojang requires explicit acceptance before the server will run.
What does this error mean?
The first boot creates eula.txt containing eula=false. Until you change that to eula=true (confirming you accept Mojang's End User License Agreement), the server refuses to start and exits immediately.
You need to agree to the EULA in order to run the server
Most Common Causes
- First-ever startup, eula.txt was just created with eula=false.
- eula.txt deleted or reset, defaulting back to false.
- Editing the wrong eula.txt (in a different folder).
- A typo such as eula = true with spaces, or wrong casing.
- A read-only eula.txt that cannot be saved.
How To Diagnose
- Confirm eula.txt exists in the server directory.
- Open it and check the eula= line.
- Make sure you are editing the file next to the server jar.
- Verify the file saved (no read-only/permission issue).
Recommended Fixes
- Set eula=true
Edit eula.txt, change eula=false to eula=true, save, and restart. - Edit the right file
Make sure you change the eula.txt in the same folder as your server jar. - Avoid typos
Use exactly 'eula=true' with no spaces and lowercase, then save. - Fix permissions
Ensure the file is writable so your change actually saves.
Frequently Asked Questions
In the server's main folder, next to the server jar. It is created on first launch.
Mojang requires agreement to its EULA before any server will run, this is by design.
You likely edited a different eula.txt, or it did not save. Edit the one beside the jar and confirm it persists.