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.
- In the sites to search page, add an update site by clicking on Add
Update Site button: In the Add Update Site dialog that opens, give the site
the name
"Eclipse.org" and URL
"http://update.eclipse.org/updates".
Note: this step is not needed if the site is already there.
- 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 without the Update Manager, download the appropriate Eclipse SDK Example zip file from the
Eclipse project web site at http://www.eclipse.org/downloads.
The workbench should not be running while the examples are being
installed. Extract the contents of the zip file to the root directory
of your Eclipse installation.
For example, if you installed the Eclipse
Project SDK on d:\eclipse-sdk\ then extract the contents of the examples
zip file to d:\eclipse-sdk\ (the
subdirectories named eclipse should line up).
Start the workbench. The workbench will report that updates have been
detected; accept them. The examples are now installed in the workbench.
You can verify that examples have been installed by looking for File >
New > Example... in the workbench menu bar.