Java Errors: Installation

Discussion in 'Bukkit Help' started by Reestv, Aug 25, 2012.

Thread Status:
Not open for further replies.
  1. Hi,

    I'm trying to set up Bukkit for the first time - but I seem to be getting some Java errors when I run the RUN.bat file. This is the error I keep getting when I double click the RUN.bat file:

    [​IMG]
    This is the code in RUN.bat:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    The only other file in that folder is the "craftbukkit.jar" file, which does nothing.

    FIXED

    I had to change the text in RUN.bat to
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx2048M -Xms1024M -jar craftbukkit.jar --nojline
    PAUSE
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 28, 2016
Thread Status:
Not open for further replies.

Share This Page