Okay, for everyone that is trying to run the minecraft_server.jar file with more RAM and is having the error that
''java' is not recognized as an internal or external command operable program or batch file"
On a Windows machine you have to set your Environment Variables.
Then simply show us the error your getting so we can help you.
Ok tried this. Heres my issue: Java is not recognized as an internal or external command,
Operatble program or batch file...
I don't think my computer understands java.
This was happening and i thought nothing of it seeing as how its just a private server for a few friends of mine...last night when it crashed after creating a giant ball of TNT (voxelSniper is so nice :tongue.gif:)...i thought i'd look into this.
i just opened up my RUN.bat (or w/e the launcher's name is) and changed the "512" to "1024" in lines 2 and 3. no more issues. thanks a bunch guys :biggrin.gif:
It runs but the client does not show up so i cannot play. it does say the world has loaded but i do not see anything [>>-i>] [>>-i>] [>>-i>]
You have to run the client separately. The server just creates the world and allows other users to connect. This includes yourself. It doesn't have a client built into it.
I did it and i couldnt connect i dont know my ip either So can Somone help me out? I would Appreciete it
I got the Jar and CMD windows working but how to you expand the CMD window so you can see the whole sentences of txt, atm I cant drag the window bigger and clicking maximise only makes the window longer and not wider nor does it let me see all the text.
alright im not sure if this has been posted but i dont feel like reading all the posts but give this a shot, it will work for people with 64bit, create a notepad, copy paste the following:
if you dont use bukkit change "craftbukkit-0.0.1-SNAPSHOT.jar" to minecraft_server.jar, depending on which you use, save the file as a .bat and place it where you have your server files.
i tried using the .bat file like was suggested, but the only thing that happens is the cmd window pops up then goes away, no server, no more ram. using windows 7
nvm, im an idiot, make sure you spell server with 2 r's when you type out the batch file, lol
Hey guys, I purchased the game a couple of days ago and have been hosting my own server(survival) with a few friends. When im staring the server it get that "NOT ENOUGH RAM!" message, the server starts up anyway and it runs fine, eventually(about 4 hours+) it starts to lag a bit forcing me to restart the server. I have 8 gigs of ram so i dont think its because my current ram is too low(lol). I see it says to launch the game with a specefic command but I am unaware of how to do that, If I could receive ANY help I would GREATLY appreciate it!
[INFO] Starting minecraft server version 0.1.4
[WARNING] **** NOT ENOUGH RAM!
[WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[INFO] Loading properties
[INFO] Starting Minecraft server on *:25565
[INFO] Preparing level "world"
[INFO] Preparing start region
Create a file called RUN.bat and copy and paste this into it:
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
java -Xmx1024M -Xms1024M -jar minecraft_server.jar
PAUSE
Then put it into the same directory as your minecraft_server.jar and double click it to start the server every time!!!! And voila! You are done.
Now give me a diamond so i can make a pick! only got two =(
Oh ya and here's the post I made about it! Hope it helps!
Why you cant run more than 1 GB of RAM on a windows machine...
1. Windows limits the amount of RAM a process can have to 1024mb (unless you have a 64-bit machine), which is why multi-threaded applications have been so popular (EX google chrome)
Workaround:
Learn CMD Commands & their relation to core windows components
2. Java limits the amount of RAM it can use by default to 1.5 GB or 1536mb, which can be edited to a higher setting by doing these steps:
Start=>Control Panel
Type "java" in the search bar
Click on the first link
Java=>View...
Under Runtime Parameters type in "-Xmx[how many megabytes here]M -Xms[how many megabytes here]M"
OK=>OK
Your done.
3. Windows organizes processes by how much RAM they take and splits them up evenly to each RAM module you have in your system, making the maximum amount of RAM the capacity of the module with the most RAM, thus if you have 2 X 1 GB sticks of RAM in your system, the most 1 application can have at a time is 1 GB or 1024 mb.
Workaround: Linux, preferably Ubuntu
Windows is not an optimal OS for a minecraft server.
Not true, Windows does not know anything about how many sticks of RAM you have in the PC, it's all handled by BIOS on boot. BIOS provides the OS with the available memory range and that's it.
When the # of RAM sticks you have & their speed, hwid, and speed are calculated
When it is translated to something that can be used for .net applications and windows itself.
Depends on what you mean optimal. I agree that Linux is better server OS than Windows, but for Minecraft I doubt it makes a noticeable difference since both platforms use JVM which works the same on all platforms (that's the meaning of Java).
Show me a video of a minecraft server running with 9gb or ram on windows.
That registry information is for information purposes only, like displaying available RAM and hardware infromation in tools like Device Manager. It does not "control" the amount of RAM being available to a single process like you stated in your previous post.
Explorer uses the information in the registry in order to be able to sort the different processes into their RAM module(s). Anything over the limit, and windows becomes unresponsive, since it cannot split 1 process into 2 ram modules.
Copy-pasted from Answers.com (wall of text warning):
Processes access virtual memory space, not physical memory. Applications never access RAM directly but only through the memory management interface of the processor.
All 32bit processes on 64bit Windows, each process has 2GB private address space, unless compiled large address aware in which case it has 4GB private adress space.
This is completely independent of the size of RAM or the pagefile. The system maps physical memory into this virtual address space according to both need and availability.
At any given time the data in virtual memory space might be stored in RAM, on disk, or both. All of this is totally transparent to all applications. Frequently accessed data will be kept in RAM with the remainder left on disk.
Ah, now you're changing the phrase, you were talking about a "minecraft server running with 9gb or ram on windows." before which is perfectly possible.
on the first suggestion where you got the code to run.
It said 1024. Thats the MB of RAM being put to the SERVER. A computer with 1gb of ram would do the exact same task. Replace 1024 with 2048 or more likely, 3062
Yes, but he is using windows 7, which will not let him have more than 1.5gb of ram if he is using a 64bit machine.
''java' is not recognized as an internal or external command operable program or batch file"
On a Windows machine you have to set your Environment Variables.
There are instructions on how to do so here: http://wiki.answers.com/Q/How_do_you_st ... batch_file
Ok tried this. Heres my issue: Java is not recognized as an internal or external command,
Operatble program or batch file...
I don't think my computer understands java.
Sitting In Minecraft:http://www.minecraftforum.net/viewtopic.php?f=1&t=214552
Lapis Vases:http://www.minecraftforum.net/viewtopic.php?f=1&t=195330
IP: 203.17.62.36
i just opened up my RUN.bat (or w/e the launcher's name is) and changed the "512" to "1024" in lines 2 and 3. no more issues. thanks a bunch guys :biggrin.gif:
why does my terminal say it can't acess the file? should i put it on the desktop, or what?
I did it and i couldnt connect i dont know my ip either So can Somone help me out? I would Appreciete it
what's wrong?
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar
if you dont use bukkit change "craftbukkit-0.0.1-SNAPSHOT.jar" to minecraft_server.jar, depending on which you use, save the file as a .bat and place it where you have your server files.
hope this helps
i'm sorry to offended you with our troubles, kid.
nvm, im an idiot, make sure you spell server with 2 r's when you type out the batch file, lol
read the original post :sleep.gif:
Create a file called RUN.bat and copy and paste this into it:
Then put it into the same directory as your minecraft_server.jar and double click it to start the server every time!!!! And voila! You are done.
Now give me a diamond so i can make a pick! only got two =(
Oh ya and here's the post I made about it! Hope it helps!
viewtopic.php?f=17&t=321779
Thank you man, i finally got my flat server to work instead of just falling through a hole.
i think i love you (No homo)
Hey when i double-click it a box pops up then disappears and im unable to read it, also im on 64 bit is that a problem? should the code be different?
1. Windows limits the amount of RAM a process can have to 1024mb (unless you have a 64-bit machine), which is why multi-threaded applications have been so popular (EX google chrome)
Workaround:
Learn CMD Commands & their relation to core windows components
2. Java limits the amount of RAM it can use by default to 1.5 GB or 1536mb, which can be edited to a higher setting by doing these steps:
Start=>Control Panel
Type "java" in the search bar
Click on the first link
Java=>View...
Under Runtime Parameters type in "-Xmx[how many megabytes here]M -Xms[how many megabytes here]M"
OK=>OK
Your done.
3. Windows organizes processes by how much RAM they take and splits them up evenly to each RAM module you have in your system, making the maximum amount of RAM the capacity of the module with the most RAM, thus if you have 2 X 1 GB sticks of RAM in your system, the most 1 application can have at a time is 1 GB or 1024 mb.
Workaround: Linux, preferably Ubuntu
Windows is not an optimal OS for a minecraft server.
When the # of RAM sticks you have & their speed, hwid, and speed are calculated
When it is translated to something that can be used for .net applications and windows itself.
Show me a video of a minecraft server running with 9gb or ram on windows.
Explorer uses the information in the registry in order to be able to sort the different processes into their RAM module(s). Anything over the limit, and windows becomes unresponsive, since it cannot split 1 process into 2 ram modules.
Show me windows running a 2gb minecraft server then.
Answers.com is not a legitimate source
Since your so confident, lets see you do it.
Yes, but he is using windows 7, which will not let him have more than 1.5gb of ram if he is using a 64bit machine.