Right click on Project - build path - left click on JRE - Remove - Add Library - JRE System and choose that's available.
Right click on Project - build path - left click on JRE - Remove - Add Library - JRE System and choose that's available