Hi, It's my first message on the forums and I hope you guys will be able to help me. My problem is that my run.bat file that I created opens when i click on it, but it says : click anything to continue. When I do so, the command window just disappears and it keeps doing that. I downloaded craftbukkit as specified in the topic on bukkitwiki, I did all the steps necessary, I copied the 64-bits lines, because my computer uses 64-bit. I really dont know what to do. Thank you! A guy that wants to add mods to his already running server.
Post the contents of your batch file - you have a pause in there, like most do, that's what's making the press any key thing. I'm just wondering if it's in the wrong place.
@ECHO OFF IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms512M -Xmx512M -jar "%~dp0craftbukkit-0.0.1-snapshot.jar" IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xms512M -Xmx512M -jar "%~dp0craftbukkit-0.0.1-snapshot.jar" PAUSE That is what I put in the notepad file that i save as .bat
Oh, wow there's a lot of finding stuff going on there. Roll something simple that's to the point: Code: @echo off "C:\Program Files\Java\jre6\bin\java.exe" -Xms512M -Xmx1024M -jar craftbukkit.jar pause This says to use 64-bit java, on a 64-bit machine, min ram 512, max ram 1024. This will also start it on a 32-bit OS. Tweak accordingly.
ok i'll try that one. The one i posted was the one I found on wikiBukkit. I'll tell you if it has worked or not, I am away from home at the moment but I'll keep you updated throughout the rest of the day. Oh and I had another question, if i already have my running server, all i have to do is copy my world and paste it the the folder? Thank you!
I think so. To move a server, just copy the world file over, run craftbukkit once to generate all the other files, then stop it and edit your server.properties and everything accordingly. Hope this works! There are many other parameters you can throw 64-bit java, and I use a lot of extras, but I'm beginning to wonder the value of them as of late.
Chances are your Windows OS is hiding the file extensions. If so your file would be named craftbukkit.jar.jar. Rename the file to simple craftbukkit and try again.
Or the batch file isn't sitting in the same directory as craftbukkit.jar Start a new thread. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I know, i have the same problem. http://forums.bukkit.org/threads/new-problem-even-minecraft-is-not-opening.21962/ First post, there is your text. I took screenshot when it opened.
That's a different problem. Cannot find craftbukkit.jar is different than cannot allocate enough ram to VM.