Unable to access jarfile craftbukkit

Discussion in 'Bukkit Help' started by Kommando, Mar 13, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Kommando

    I've tried renaming my jar file to "craftbukkit" "craftbukkit.jar", didn't work
    This all happened after trying to update to the latest build.

    Here is my .bat... anything wrong here?

    Echo OFF
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1024M -jar "craftbukkit"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xincgc -Xmx1024M -jar "craftbukkit"
    PAUSE

    Running windows 7 64bit
     
  2. Make sure your craft bukkit jar file is called 'craftbukkit.jar'

    Then try this as your .bat instead

    Code:
    java -Xms512M -Xmx1024M -jar craftbukkit.jar
    ensure the .jar and the .bat are both located in your server folder
     
  3. Offline

    Kommando

    [​IMG]

    Okay I fixed it, wow that was simple. I'm not too familiar with the bat file and when I renamed the jar file within the bat file I deleted the .jar after the name
    -Xincgc -Xmx1024M -jar "craftbukkit" <--- .jar goes here, I thought it had to be in the quotes but it doesn't.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
Thread Status:
Not open for further replies.

Share This Page