Adding a new JRE definition

You can add any number of JRE definitions.

  1. Open the Java > Installed JREs preference page.
  2. Click 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
Editing a JRE definition
Overriding the default system libraries for a JRE definition

Related reference
Installed JREs preference page