Installing the examples

Installing examples via the Update Manager

The Eclipse SDK examples are found on the Eclipse project update site. 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 to install and click Next.
  3. Select The Eclipse Project Updates site.
  4. Click Next and wait for the search results to return all the features found on that site.
  5. Select Eclipse SDK ver where ver is the version number of the Eclipse release. Expand this category.
  6. Select the Eclipse SDK Examples feature and click Next.
  7. Accept the license and click Next.
  8. Select the directory into which the example feature is to be installed and hit Next.
  9. Click Install to allow the downloading and installing to proceed.

  10. 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.