blob: eb43a0deaf6ef4650e9ce00c93efacfbfe29008b [file]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 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">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
<title>Installation of Examples</title>
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
</head>
<body>
<h1>
<b>Installing the examples</b></h1>
<h3>
Installing examples via the Update Manager</h3>
<p>
The Eclipse SDK examples are found on the Eclipse project update site at <a href="http://update.eclipse.org/updates">http://update.eclipse.org/updates</a>.
To locate and install them into a product:</p>
<ol>
<li>Open the main update manager by clicking
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.update.findAndInstallUpdates")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<b>Help &gt; Software Updates &gt; Find and Install</b></a>
. This opens the Install Wizard.</li>
<li> Select <b>Search for new features</b> and click <b>Next</b>.</li>
<li> Select <b>Eclipse Project update site</b>. If it is not there,
add an update site by clicking <b>New Remote Site </b>. In the <b>New Update Site</b>
dialog that opens, give the site the name &quot;Eclipse Project&quot; and URL
&quot;<a href="http://update.eclipse.org/updates">http://update.eclipse.org/updates</a>&quot;.
</li>
<li>Click <b>Next</b> and wait for the search results to return all the
features found on that site.</li>
<li>Select the SDK Examples feature and click <b>Next</b>. </li>
<li>Accept the license and click <b>Next</b>.</li>
<li> Select the directory into which the example feature is to be installed and hit <b>Next</b>.</li>
<li> <p>Click <b>Install</b> to allow the downloading and installing
to proceed.</p></li>
<li> Click <b>Yes</b> when asked to exit and restart the workbench for the
changes to take effect. The examples are now installed in the workbench.
Note: you can also click on <b>Apply Now</b> to dynamically install the
examples into the current configuration.</li>
</ol>
<h3>
Installing examples manually</h3>
To install the examples from a stand-alone zip file:
<ol>
<li>Download the appropriate Eclipse SDK Example zip file from the Eclipse project
web site at <a href="http://www.eclipse.org/downloads">http://www.eclipse.org/downloads</a>.
</li>
<li>Extract the contents of the zip file to a new empty directory on your local disk.</li>
<li>Within Eclipse, select <b>Help &gt; Software Updates &gt; Manage Configuration</b>.</li>
<li>Click <b>Add an Extension Location</b>.</li>
<li>Select the &quot;eclipse&quot; directory within the directory you created in step 2.</li>
<li>When prompted to restart, click &quot;Yes&quot;.</li>
</ol>
<p>You can verify that examples have been installed by looking for <b>File &gt;
New &gt; Example...</b> in the workbench menu bar.</p>
</body>
</html>