User:ExtremeHeat11/sandbox/Setting up a server/Windows instructions

Verify that Java is installed
To start, you must verify that Java is installed on the system that you choose to run the server from, if you're able to run the game, then you probably already have it installed and can skip these steps.

To do so, follow the following steps:
 * 1) Hold your Windows key, then press 'R'; and in the prompt, type "cmd" and press OK.
 * 2) In Command Prompt, execute the command:
 * 3) If the first line that it returned did not say , then you do not have a valid install of Java on your system; and should install the appropriate version from here.

Start the Minecraft server
If you have not already done so, create a dedicated folder somewhere on your computer where you can run the server.

This means that you cannot run the server directly from a place like your Desktop.

Afterwards, you can drag the server file you downloaded to the new folder, and simply double click on it.

And that's it; you have successfully got yourself a working Minecraft server.

Now, to let others join it, you must use a method called, assuming you have a router (You probably do!).

Otherwise, see.

Advanced starting your server
Optionally, you can open the server Command Line; if you really know what you are doing or just want to launch the server with certain parameters.

After you have done that, Shift-Right click on an empty space of the folder, and you should get the option to "Open Command Window Here".

Press it, and in the Command Prompt window, use the following commands:

Using the .EXE version:

Using the .JAR version:

Once you have done that, a new file should appear in your folder, called "run.bat", just double click it.

Then the server should boot up just how it normally would.

Adding more RAM
If you have't read the above, please see it.

Simply right click "run.bat", and press Edit.

Once you have that, find the amount of RAM that you want to allocate to the server.

Here's a conversion table you can use for adding more RAM; please keep in mind that if you are on a 32-bit OS or Java installation, you will be unable to allocate more than 1500MB RAM.

You should never need to allocate more than 6GB to the server.

Once you have the JVM Argument, go back to the notepad file, and at the end of the first line, that should start with "java -jar", replace it with

Once you have the JVM Argument, add it to the line, so replace  with.

For example, you could use  to launch the server with 3 Gigabytes of RAM.