The terms compile and build have very similar meanings. Both refer to the process of converting human-readable source code to machine-readable binary code. When we are programming in Java, compile generally refers to this process when it is performed on a single file. Build will generally refer to this process when it is performed on multiple files within one or more projects. The term "compile" is used rarely in the context of Gild and Eclipse. Every Java source file will be associated with a project in Gild. So, the term "build" is appropriate.
Your computer (or, in the context of Java, your virtual machine) does not understand source code. Before you can run any program, that program must be built at least once. Once a program is built, there will be two kinds of files associated with that program: the Java source files (*.java); and the bytecode class files (*.class). Your program will have to be built again whenever these two kinds of files get out of sync. This can happen for several reasons: edits, deletions, additions, etc.
To perform a build, follow these steps:1
If there are no errors in your source code that prevent the build from completing, you should now be able to run your program.