blob: 89141e2da2f8e88f4a50463e12c4c00d8fb406c4 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Building a Java program
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<h1>
Building a Java program
</h1>
<p>
A build command compiles workbench resources. A build command can be triggered in different ways:
</p>
<ul>
<li>
Building automatically: If auto build is turned on
(<strong>Project &gt; Build Automatically</strong>, or with the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.Workspace)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<strong>General &gt; Workspace</strong></a> preference page), then an
incremental build occurs every time you save a modified workbench resource.
</li>
<li>
Building manually: You can perform a manual build using a keyboard shortcut, a project's pop-up menu or the <strong>Project</strong> menu in the menu bar.
</li>
</ul>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" >
<p>
<a href="../concepts/cbuildcp.htm">Build classpath</a><br>
<a href="../concepts/concepts-4.htm">Java builder</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="tasks-108.htm">Building automatically</a><br>
<a href="tasks-109.htm">Building manually</a><br>
<a href="tasks-113.htm">Adding a JAR file to the build path</a><br>
<a href="tasks-112.htm">Adding a class folder to the build path</a><br>
<a href="tasks-111.htm">Viewing and editing a project's build path</a><br>
<a href="tasks-110.htm">Working with build paths</a>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" ><br>
<a href="../reference/ref-123.htm">Java Build Path</a><br>
<a href="../reference/ref-preferences-compiler.htm">Java Compiler preferences</a>
<a href="../reference/ref-menu-project.htm">Project menu</a><br>
</p>
</body>
</html>