Installing the examples

Installing examples via the Update Manager

The Eclipse SDK examples are found on the Eclipse project update site at http://update.eclipse.org/updates. To locate and install them into a product:

  1. Open the main update manager by clicking Help > Software Updates > Find and Install . This opens the Install Wizard.
  2. Select Search for new features and click Next.
  3. Select Eclipse Project update site. If it is not there, add an update site by clicking New Remote Site . In the New Update Site dialog that opens, give the site the name "Eclipse Project" and URL "http://update.eclipse.org/updates".
  4. Click Next and wait for the search results to return all the features found on that site.
  5. Select the SDK Examples feature and click Next.
  6. Accept the license and click Next.
  7. Select the directory into which the example feature is to be installed and hit Next.
  8. Click Install to allow the downloading and installing to proceed.

  9. Click Yes 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 Apply Now to dynamically install the examples into the current configuration.

Installing examples manually

To install the examples from a stand-alone zip file:
  1. Download the appropriate Eclipse SDK Example zip file from the Eclipse project web site at http://www.eclipse.org/downloads.
  2. Extract the contents of the zip file to a new empty directory on your local disk.
  3. Within Eclipse, select Help > Software Updates > Manage Configuration.
  4. Click Add an Extension Location.
  5. Select the "eclipse" directory within the directory you created in step 2.
  6. When prompted to restart, click "Yes".

You can verify that examples have been installed by looking for File > New > Example... in the workbench menu bar.