To build Java applications, you can use the Ant, Maven and Gradle tools. IntelliJ IDEA allows you to work with these tools. But how does the default build happen when a project is created and started (if I don't use Ant, Maven and Gradle)?

1 answer 1

Building the application includes compiling, linking and actually packing the code into an executable file (for example, into a jar file). Perhaps I’m wrong, but, as I understand it, IntelliJ IDEA uses the usual java-compiler, javac to compile by default, and for the rest, you need to make the necessary settings before starting the application - for example, to use Ant you need to specify the path to build.xml file, and to use Maven, the path to the Maven home directory, settings files, etc.