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:
- Open the main update manager by clicking
Help > Software Updates > Find and Install
. This opens the Install Wizard.
- Select Search for new features and click Next.
- 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".
- Click Next and wait for the search results to return all the
features found on that site.
- Select the 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.