Adding a new JRE definition

You can add any number of JRE definitions.

  1. From the menu bar, select Window > Preferences.
  2. In the left pane, expand the Java category and select Installed JREs.
  3. Click the Add... button. The Add JRE page opens.
  4. In the JRE type field, select the type of JRE you want to add from the drop-down list.
  5. In the JRE name field, type a name for the new JRE definition. All JREs of the same type must have a unique name.
  6. In the JRE home directory field, type or click Browse to select the path to the root directory of the JRE installation (usually the directory containing the bin and lib directories for the JRE). This location is checked automatically to make sure it is a valid path.
  7. In the Javadoc URL field, type or click Browse to select the URL location. The location is used by the Javadoc export wizard as a default value and by the 'Open External Javadoc' action.
  8. If you want to use the default libraries and source files for this JRE, select the Use default system libraries check box. Otherwise, clear it and customize as desired. Source can be attached for the referenced JARs as well.
  9. Click OK when you are done.

Related concepts

Java development tools (JDT)

Related tasks

Working with JREs
Assigning the default JRE for the workbench
Editing a JRE definition
Overriding the default system libraries for a JRE definition

Related reference
Installed JREs preference page


Copyright IBM Corporation 2000, 2002. All Rights Reserved.