You can modify all settings for a JRE definition except its JRE type.
1. |
From the menu bar, select Window > Preferences > Java > Installed JREs. |
2. |
Select the JRE definition that you want to edit and click the Edit button. |
3. |
The Edit JRE dialog appears. ![]() |
4. |
In the JRE Name field, edit the name for the JRE definition. All JREs of the same type must have a unique name. |
5. |
In the JRE Home Directory field, edit 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. |
In the Debugger timeout field, edit the number of ms for the debugger to wait for a connection to this JRE. Note: The debugger uses this value when communicating with a VM (e.g., to get the values of variables). Increase this value if you are seeing timeouts when debugging. The timeout value is only used after the debugger has connected to the VM; it has no effect on the launching of the debug VM. |
7. |
If you want to use the default libraries for the JAR and source files for this JRE, leave the Use default libraries box checked. Otherwise, deselect it and either type or click Browse to select these two files. See Overriding the Default System Libraries for a JRE Definition |
8. |
Click OK when you are done. |