Everytime i try to run.bat it comes up in commmand prompt and says press any key to continue. I press enter then it dissapears. Does anyone know the problem to this?
Go to you local disc, and then check program files, and program files x86 . Look if any of them has java. Now, do the following: Rename your Jar file to Craftbukkit remove what you have in your bat file, and use one of these: if you have java in program files, use: Code: ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "C:\Program Files\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar PAUSE If you have java in program files x86, use: Code: ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar PAUSE Now try starting it.
First rename your jar file to craftbukkit.jar. Then use this code ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "C:\Program Files\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar PAUSE If you have java in Program Files x86 use this ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar PAUSE If it doesn't works, then try re-installing Java
I suggest getting this for a console its much better and cleaner ! http://dev.bukkit.org/bukkit-plugins/bukkitgui/
this page has helped sooooooooo much. i was so frustrated with all the confusing java instructions and then i found this page! THANKYOU SOOOOOO much you guys have helped me alot