1. Download
CraftBukkit.2. Create a new folder, and drag the .jar file into that new folder.
3. Open Notepad++ or something like that, and paste this in:
If you use Java 6:
- Code: Select all
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-1.0.0-SNAPSHOT.jar
PAUSE
If you use Java 7:
- Code: Select all
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-1.0.0-SNAPSHOT.jar
PAUSE
"If you are running java in 32bit mode on a 64bit machine, change %ProgramFiles% to %ProgramFiles(x86)% "
4. Save the file as start.bat (if you are using Notepad, make sure to change the file type as "All Files")
5. Try to execute start.bat. It might give you errors saying that some files cannot be found, but it should automatically generate those files.
(you're on your own for port forwarding lols)