• Download Java API from here.
  • Extract the zip file in your local directory.
  • From ecliplse –> Window –> Preferences –> Java –> “Installed JREs” select available JRE (jre6 C:Program Files (x86)Javajre6 for instance) and click Edit.
  • Select all the “JRE System libraries” using Shift key.
  • Click “Javadoc Location”
  • Change “Javadoc location path:” from “http://download.oracle.com/javase/7/docs/api/” to “file:/C:/Users/kyle/Softwares/jdk-7u51-apidocs/docs/api”