Sometimes, when starting a Minecraft Java Edition server, you may encounter an error message related to the EULA (End User License Agreement).
Minecraft’s EULA applies to all servers and clients, including Bukkit, Spigot, and Forge servers.
Start your server for the first time.
Navigate to General > Console.

Once prompted by “By answering 'true' to this prompt you are indicating your agreement to Minecraft's EULA (https://account.mojang.com/documents/minecraft_eula)”, type in true and enter to accept and continue starting your server.

Alternatively, if you’re prompted with a popup shown below, you can hit I accept to accept the Minecraft EULA.
