I have downloaded Java API documentation from http://www.oracle.com/technetwork/java/javase/downloads/index.html#docs and have supposedly attached it to Eclipse using the >
For offline Javadoc from zip file rather than extracting it.
This is already answered which uses extracted zip data but it consumes more memory than simple zip file.
Comparison of zip file and extracted data.
jdk-6u25-fcs-bin-b04-apidocs.zip ---> ~57 MB
after extracting this zip file ---> ~264 MB !
So this approach saves my approx. 200 MB.
1.Open
Windows -> Preferences

2.Select
jrefromInstalled JREsthen ClickEdit...

3.Select all
.jarfiles fromJRE system librariesthen ClickJavadoc Location...

4.Browse for
apidocs.zipfile forArchive pathand setPath within archiveas shown above. That's it.5.Put cursor on any class name or method name and hit Shift + F2