Skip to content

Build Tools

  • ant
  • maven
  • gradle

These are the most common build systems used in java.

How to install

  • compiler - openjdk
    • sudo apt install default-jdk
    • sudo apt install openjdk-8-jdk - for jdk8, you can choose another one
    • sudo update-alternatives --config java - check the available versions in the system
  • build - apache ant apache maven gradle
    • apache maven
      • sudo apt install mvn

Gradle

Gradle is an open-source build automation tool that helps software engineers to test, build, and release high-performance software products. In addition, Gradle also supports multi-language development. Currently, the supported languages for Gradle include Java, Kotlin, Groovy, Scala, C/C++, and JavaScript.

Resources

Maven

Maven is an open-source build tool, used primarily for Java projects.

Resources

Ant

Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. Ant can also be used effectively to build non Java applications, for instance C or C++ applications. More generally, Ant can be used to pilot any type of process which can be described in terms of targets and tasks.

Resources