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:
- Open the main update manager by clicking
Help > Software Updates > Find and Install
. This opens the Install Wizard.
- Select Search for new features to install and click Next.
- Select The Eclipse Project Updates site.
- Click Next and wait for the search results to return all the
features found on that site.
- Select Eclipse SDK ver where ver is the version number of the Eclipse release. Expand this category.
- Select the Eclipse SDK Examples feature and click Next.
- Accept the license and click Next.
- Select the directory into which the example feature is to be installed and hit Next.
-
Click Install to allow the downloading and installing
to proceed.
- 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:
- Download the appropriate Eclipse SDK Example zip file from the Eclipse project
web site at http://www.eclipse.org/downloads.
- Extract the contents of the zip file to a new empty directory on your local disk.
- Within Eclipse, select Help > Software Updates > Manage Configuration.
- Click Add an Extension Location.
- Select the "eclipse" directory within the directory you created in step 2.
- 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.