| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
| |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| |
| <title>Java builder</title> |
| </head> |
| |
| <body> |
| <h1>Java builder</h1> |
| |
| <p>The Java builder builds Java programs using a compiler that implements the Java Language Specification. |
| The Java builder can build programs incrementally as individual Java files are saved.</p> |
| |
| <p>Problems detected by the compiler are classified as either warnings or errors. The existence of a warning does not affect the execution of the program; the code executes as |
| if it were written correctly. Compile-time errors (as specified by the Java Language Specification) are always reported as errors by the Java compiler. For some other types of |
| problems you can, however, specify if you want the Java compiler to report them as warnings, errors or to ignore them. To change the default settings, use the <span class= |
| "control">Window > Preferences > Java > Compiler</span> preference page.</p> |
| |
| <p>The Java compiler can create CLASS files even in presence of compilation errors. However, in the case of serious errors (for example, references to inconsistent binaries, |
| most likely related to an invalid build path), the Java builder does not produce any CLASS |
| files.</p> |
| |
| <p><img border="0" src="../images/ngrelc.gif" alt="Related concepts" width="159" height="27"><br> |
| <a href="cbuildcp.htm">Build classpath</a><br> |
| <a href="../concepts/concepts-1.htm">Java development tools (JDT)</a></p> |
| |
| <p><img border="0" src="../images/ngrelt.gif" alt="Related tasks" width="159" height="27"><br> |
| <a href="../tasks/tasks-106.htm">Building a Java program</a><br> |
| <a href="../tasks/tasks-108.htm">Building automatically</a><br> |
| <a href="../tasks/tasks-109.htm">Building manually</a><br> |
| <a href="../tasks/tasks-107.htm">Viewing compilation errors and warnings</a><br> |
| <a href="../tasks/tasks-110.htm">Working with build paths</a> |
| <a href="../tasks/tasks-111.htm">Viewing and editing a project's build path</a><br> |
| <a href="../tasks/tasks-113.htm">Adding a JAR file to the build path</a><br> |
| <a href="../tasks/tasks-112.htm">Adding a library folder to the build path</a><br> |
| </p> |
| |
| <p><img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159"><br> |
| <a href="../reference/ref-123.htm">Java Build Path properties</a><br> |
| <a href="../reference/ref-preferences-compiler.htm">Java Compiler preferences</a></p> |
| |
| <p><a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" width=324 height=14 alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0"></a></p> |
| </body> |
| </html> |
| |