Preparing the Workbench

This Getting Started tutorial is designed to help you learn about using the Java development tooling (JDT) in the workbench. This tutorial assumes the following:

In this section, you will verify that the workbench is properly set up for Java development.

Verifying JRE Installation & Classpath Variables

1.

In the main workbench window, select Window > Preferences > Java > Installed JREs.

2.

Make sure that the Standard VM located in the <workbenchRoot>\JRE directory has been detected.

3.

The three variables on this page are preset depending on which JRE has been chosen as the default.

4.

On the left, click Workbench to display the Workbench preferences page.

On this page, verify that the Perform build automatically on resource modification option is checked.

5.

On the left, click Java to display the Java preferences page.

On this page, verify that the Use 'src' and 'bin' folders as defaults for new projects option is checked.

6.

Click OK when you have verified that the workbench settings are correct.

Installing the JDT Example

Note: The JDT example project contributes a New Wizard that automatically creates a sample project in your workbench. For this tutorial, however, we will perform these steps manually.

1.

Download the ZIP file containing the examples.

2.

Extract the contents of the ZIP file to the root directory of your workbench installation.

Note: The workbench should not be running while the examples are being installed.

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.

3.

Start the workbench. The example plug-ins are installed.