How to install and compile Bukkit/Craftbukkit for Linux(Repost, sorta)

Discussion in 'Bukkit Help' started by ScytheX10, Jan 10, 2011.

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


    Hi. I posted this in the "Getting started with craftbukkit/bukkit" thread. I just want to re-post it as a thread so it will help people in the future
    This is primarily for Debian environments with sudo enabled. But it can work for other Linux systems, replace sudo with being root, or replace apt-get with yum etc.

    sudo apt-get install git
    sudo apt-get install maven2
    mkdir bukkit
    mkdir craftbukkit
    cd bukkit
    (run as root in non-sudo environments)
    sudo git init
    sudo git pull git://
    sudo mvn clean install
    cd ..
    cd craftbukkit
    sudo git init
    sudo git pull git://
    sudo mvn clean package
    Both compiles will be in the target directory EDIT: of their respective directories.
    Alternatively you can grab the compiled versions from:
  2. Offline


    ok im soo noob a t this but, i have a linux server and it has java ready to go i just cant start craftbukkit =(
    the error that i receve is as follows
    craft: line1: @ECHO: command not found
    craft: line2: IF: command not found
    craft: line3: IF:command not found
    craft: line5: PAUSE: command not found

    how can i fix this? linux server, craftbukket is in a folder called minecraft
  3. Offline

    Grum Bukkit Team Member

    Don't get maven2 :( .. i'm so tempted to break backwards compat now.
  4. Offline


    You are using the windows bat file in linux. try:

    cd "${0%/*}"; java -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
Thread Status:
Not open for further replies.

Share This Page