I downloaded craftbukkit java file and saved this text: java -Xmx1024M -jar craftbukkit.jar -o true PAUSE with notepad under run.bat. I put both files in a folder called 'Server' and I tried to run the bat file and it says: 'java' is not recognised as an internal or external command, operable program or batch file. C:\Users\***** ******\Desktop\Server\PAUSE PRESS ANY KEY TO CONTINUE when i press any key the run file just shuts down and nothing happens
use the advanced run.bat in my signature. that should fix it if you'd rather not, use: "C:\Program Files\Java\jre7\bin\java.exe" instead of java. so it would be: "C:\Program Files\Java\jre7\bin\java.exe" -Xmx1024M -jar craftbukkit.jar -o true
I used your advanced run.bat, and it says this: 64 bit mode WARNING! Running in 32 bit mode, install 64 bit, bla bla bla... and then when i press something it turns yellow and says: STOPPED! CLOSE NOW TO STOP FULLY. and nothing happens else. and i still have 2 stupid files in my server folder, the jar and run.bat
it means you have a 64 bit capable system, but don't have 64 bit java installed. you can go and copy the batch file again, i updated it to solve the skipping problem that first 64 bit wasn't meant to be there. it was some debugging code i forgot to remove.