Adding a new JRE definition

In your workspace you can have any number of JRE definitions. You can also add as many JRE definitions as you want.

To add a new JRE definition:

  1. Open the Opens the Installed JREs preference page Java > Installed JREs preference page.
  2. Select the Add... button. The Create JRE dialog opens.
  3. In the JRE type field, select the type of JRE you want to add from the drop-down list.
  4. In the JRE name field, type a name for the new JRE definition. All JREs of the same type must have a unique name.
  5. 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.
  6. The default libraries appear for the JRE in the JRE system libraries list. You can modify the libraries as desired.
  7. Click OK when you are done.

Related concepts
Java development tools (JDT)

Related tasks
Working with JREs
Assigning the default JRE for the workbench

Related reference
Installed JREs preference page