Javadoc for existing java classes-Collection of common programming errors
Download the Java 7 Java documentation here to your desktop:
http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html
Then, go to Eclipse Preferences -> Java -> Installed JREs
Select your JRE, click Edit…
Select rt.jar (This jar file contains all the runtime classes for Java), then select “Javadoc Location…”, and point the URL at the zip file of your javadoc download above.
You can now access the Java 7 documentation offline in Eclipse.