How to open Minecraft_Server.jar? [duplicate]
When I downloaded minecraft_server1.8.8.jar I couldn't open it by double clicking on it, nothing would happen.
I tried opening the eula.txt file and changed eula=false to eula=true so I'm still confused as to why it doesn't work.
What do I need to do to open the minecraft_server.jar file?
Best Answer
jar files need to be open with Java;
Windows
Go to the folder that the .jar file is located. Then push alt+D type in cmd and hit Enter. This will open cmd.exe with the location set to the correct spot, otherwise you could change directory with the cd (directory) command.
Now just type in java -jar minecraft_server1.8.8.jar and hit Enter to open the file.
Linux
Open the Terminal: Applcations > Accessories > Terminal. and then change directories to where the Minecraft server jar is located with the cd command. Then type in java -jar minecraft_server.jar
Additional arguments:
- You can add
no guito the end of the command to open the server without the GUI - You can specify the initial and maximum memory allocation pool for the Java Virtual Machine by adding
-Xms500Mand-Xmx1Gbetweenjavaand-jar. You can change the size (the500Mand1Gparts) to whatever you like. The default value forxmxis 256MB, if you encounter ajava.lang.OutOfMemoryErroryou may need to increasexmxwhen you start it with this command line.
Pictures about "How to open Minecraft_Server.jar? [duplicate]"
![How to open Minecraft_Server.jar? [duplicate] - Macbook Pro on White Table How to open Minecraft_Server.jar? [duplicate] - Macbook Pro on White Table](/assets/images/how_to_open_minecraftserverjar_duplicate_1.jpeg)
![How to open Minecraft_Server.jar? [duplicate] - Free stock photo of color, computer, flora How to open Minecraft_Server.jar? [duplicate] - Free stock photo of color, computer, flora](/assets/images/how_to_open_minecraftserverjar_duplicate_2.jpeg)
![How to open Minecraft_Server.jar? [duplicate] - Macbook Pro on Brown Wooden Table How to open Minecraft_Server.jar? [duplicate] - Macbook Pro on Brown Wooden Table](/assets/images/how_to_open_minecraftserverjar_duplicate_3.jpeg)
What do I open server jar with?
This is how you can open the Minecraft server Jar version with a batch file:What version of Java does Minecraft 1.18 use?
Since Java Edition 1.18(1.18 Pre-release 2), Minecraft requires Java 17 or newer.How do I open a Minecraft server jar on Mac?
Create a directory called 'server' and drag the jar file in there.Minecraft Server.jar Won't load Files Or Stay Open! Here's Why Easy fix 2021!!!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: EKATERINA BOLOVTSOVA, EKATERINA BOLOVTSOVA, EKATERINA BOLOVTSOVA, EKATERINA BOLOVTSOVA
