How to run a minecraft server
Sophia Edwards
Published Mar 23, 2026

Execute the server for the first time by running the following command at the command prompt from the directory the .JAR file is located in, of course: Windows: java -Xmx1024M -Xms1024M -jar minecraft_server.1.7.10.jar nogui. OS X: java -Xms1G -Xmx1G -jar minecraft_server. 1.7.10.jar nogui
There are other answers below:
Most server owners struggle to keep their server in shape. Luckily, there are several tricks you can use to run a successful Minecraft server. But be warned: Without proper cooling, any home hosted server can turn into a disaster. Start with Step 1 below to find out more.
Step 2: Download the Minecraft Server Download the latest version of the server from the official download page. It will be a server.jar file. Put that downloaded file in a folder where you’d like to run the Minecraft server. Step 3: Run the Server Open a Windows command prompt in the folder where you put the server jar file.
Run the server for the first time by typing java -jar minecraft_server.jar –nogui (replacing the jar name (minecraft_server.jar in this case) by whatever you named the jar file to be). A file called eula.txt will be generated after you run the server for the first time.
The first thing that you’ll need to do to get your Minecraft server up and running is to launch a new “virtual machine” (VM) in the Oracle Cloud. This is easy, and to get started you can click on ‘Create a VM instance’ right on the main landing page of the Oracle Cloud console.
Now it’s time to join your Minecraft server. 1. Run Minecraft. 2. On the main menu, click Multiplayer. 3. Click Add Server. 4. Name your server in the Server Name field. 5. Type “localhost” in the Server Address field. 6. Click Done. 7. Select your server and click Join Server. You should now be able to play on your home server.
You’ll need the following system requirements in order to run Minecraft Server: A Windows 10 desktop or server. At least 4GB of RAM is recommended. A reliable wired network connection. A generous Internet bandwidth plan: Minecraft can use up to 100MB per player per hour, so an unlimited bandwidth plan is ideal.
Run a Minecraft Server on Your PC and Play with Friends over the Internet or a LAN
- Get the Latest Version of Java. Go to and get the latest version of Java.
- Download the Minecraft Server. Download the latest version of the server from the official download page. …
- Run the Server. Open a Windows command prompt in the folder where you put the server jar file. …
- Server Commands. …
- Connect to Your Server. …
Related Questions
How do I run a Minecraft server in Java on Windows?
Go to and get the latest version of Java. Download the latest version of the server from the official download page. It will be a server.jar file. Put that downloaded file in a folder where you’d like to run the Minecraft server. Open a Windows command prompt in the folder where you put the server jar file.
How do I create a Minecraft server?
Go to this website and download the minecraft_server.1.XX.X.jar file (The X’s will be the current version number) After you have downloaded it, make a folder on your desktop to keep all your server files in. You can name it “Minecraft Server”. Drag over or copy and paste the .jar file into the Minecraft Server folder.
How do I run a Minecraft server from a batch file?
Batch File to Run Server 1. Right-click inside the Server folder where you put the Minecraft_Server.1.11.jar. 2. Select New > Text Document. 3. Name the new document “Run”. 4. Inside the Notepad document, paste the following line: 1 cmd /k java ‐Xms1G ‐Xmx1G ‐jar minecraft_server.1.11.jar
Do I need a Minecraft server to play Minecraft?
For those looking to play Minecraft with their friends, a Minecraft Server is required. It allows users to connect to one central computer which will host the game software for all the other players to use. You’ll need the following system requirements in order to run Minecraft Server: