Your path is pointing to jre6 but you say that you have jr7. You'll want to edit your file path so that it points to the right java version.
Should look like this: "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -xms1024M -jar craftbukkit.jar
And get rid of that BINDIR junk, that is related to Linux. Where did you get that batch file example? I see that quite a bit and it is flat-out wrong mixing Linux and Windows like that. If anything, put the actual foldername where you have craftbukkit.jar in the "change directory" command like this: Code: @ECHO OFF CD /D C:\MyServer\ "%ProgramFiles%\Java\jre7\bin\java.exe" -XX:MaxPermSize=128M -Xmx1024M -xms1024M -jar craftbukkit.jar nogui LHammonds
Anyone know a tutorial to setup a 1.7.2 craftbukkit server ? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
It's not the batch file at this point. You already have a java.exe process running in memory. Reboot your PC or end-task the java.exe processes. How to setup a vanilla craftbukkit server
So are you telling me that you can go into Task Manager, verify that java.exe is not running in memory and when you run that batch file to start craftbukkit, you get that "port is in use" garbage? What port is it set to in server.properties? Have you tried changing it to a different port such as 25555 or 25575?