You can do the following: After launching Eclipse IDE, right-click on a Java project and select Properties. Select Java Build Path from Properties for Java Project . Now go to Libraries Tab and choose Add Library -> JRE System Library -> Next -> Installed JREs .
Read more