Go to your workplace folder, and you should see a few new files.Your server should’ve given you a message mentioning the EULA.If a message saying ‘Permission denied’ shows up, open terminal and run chmod +x, then type a space, then drag your mand file into the terminal window, then press enter and try running it again.After agreeing to the EULA, you can use your server’s console. Now go to your workspace folder, then double click on the mand file to run it.Press cmd-s, then navigate to your workspace folder.#!/bin/bash cd '$(dirname ' $0 ')' exec java -Xms1G -Xmx2G -jar server.jar Rename the file you previously downloaded to ‘server’ (or server.jar if you have file extensions on).
#JAVA DOWNLOAD FOR MINECRAFT SERVER WINDOWS#
If you’re using a linux server, the MacOS instructions will fit you better Windows Click to expand Now follow the OS specific instructions to setup the server. If you’re using forge or fabric, then you’ll need to run the installer and select ‘Install server’, click the 3 dots and find your workplace.
#JAVA DOWNLOAD FOR MINECRAFT SERVER INSTALL#
You can follow this to install the right version of Java For 1.18 and above, you will need to use Oracle Java/OpenJDK 17. For 1.17, you will need to use Oracle Java/OpenJDK 16. For 1.13 and below, you will need to use Oracle Java/OpenJDK 8. If you want to temporarily play multiplayer with someone on the same network as you, you can press ‘Open to lan’ from the minecraft pause screen, and your world should show up for anyone on the same network Hosting Requirements:
Minecraft: Java edition uses servers for online play. Setting up a Minecraft: Java Edition server