Note that there are some explanatory texts on larger screens.

plurals
  1. POCraftbukkit: mvn clean install error
    primarykey
    data
    text
    <p>I am fairly new to UNIX and i am trying to use CraftBukkit to run my Minecraft Server.</p> <p>This is what I did:<br> <code>$ git clone git://github.com/Bukkit/CraftBukkit.git</code><br> <code>$ cd CraftBukkit</code><br> <code>$ mvn clean install</code></p> <p>This is the error I get...</p> <pre><code>sam@qntm:~/CraftBukkit$ mvn clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building CraftBukkit [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /home/sam/CraftBukkit/target [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 133 source files to /home/sam/CraftBukkit/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure Unable to locate the Javac Compiler in: /usr/lib/jvm/java-6-openjdk/jre/../lib/tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. Unable to locate the Javac Compiler in: /usr/lib/jvm/java-6-openjdk/jre/../lib/tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Tue Feb 08 17:42:57 MSK 2011 [INFO] Final Memory: 12M/151M [INFO] ------------------------------------------------------------------------ </code></pre> <p>Apologies if there is a really simple and obvious solution.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload