As we see, Eclipse lists all JREs in the Installed JREs table with the default one checked. Note that Eclipse does not scan all installed JREs automatically (except the default one that runs Eclipse itself), so we have to add/remove other JRE versions manually here.To add an installed JRE version to the table, click Add button. The Add JRE dialog appears:
Select Standard VM (default selected), then click Next. In the next screen, JRE Definition, click Directory button to locate installation directory of the desired JRE:
Wait a few seconds for Eclipse loading JRE system libraries jar files, and then click Finish. The newly added JRE is shown in the table:
If you want to use the newly added JRE as the default, select the appropriate checkbox.To edit or remove a JRE, click the corresponding button Edit or Remove. NOTES:Other Eclipse Tutorials:
Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He began programming with Java back in the days of Java 1.4 and has been passionate about it ever since. You can connect with him on Facebook and watch his Java videos on YouTube.