How to open Minecraft_Server.jar? [duplicate]

How to open Minecraft_Server.jar? [duplicate] - White Laptop Computer on Brown Wooden Table

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 gui to 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 -Xms500M and -Xmx1G between java and -jar. You can change the size (the 500M and 1G parts) to whatever you like. The default value for xmx is 256MB, if you encounter a java.lang.OutOfMemoryError you may need to increase xmx when 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] - Free stock photo of color, computer, flora
How to open Minecraft_Server.jar? [duplicate] - Macbook Pro on Brown Wooden Table



What do I open server jar with?

This is how you can open the Minecraft server Jar version with a batch file:
  • Enter 'Notepad' into Windows search box and open Notepad.
  • Then copy and paste the following text into Notepad with the Ctrl + C and Ctrl + V hotkeys: java -Xms1024M -Xmx2048M -jar minecraft_server.jar nogui pause.


  • 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.
  • Make a command file. ...
  • Copy in the following text. ...
  • Make this command executable by opening a terminal (/Applications/Terminal) and typing. ...
  • Double click the start server to start the server. ...
  • Congrats! ...
  • the filename in your start.




  • 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