javadoc location for eclipse offline

eclipse, java, javadoc

Solution

You can download the Java 7 javadoc from

http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html

Problem

The help for Java in Eclipse (ordinary Java development, not Android), is set to an online URL at Oracle's server, linked to http://docs.oracle.com/javase/6/docs/api/. However, with one specific computer, I cannot be online during a Java class I teach. So I want to use a local help. I tried the following: - Open the `windows - preferences - java - installed jre` - select the 1.7 runtime, and there the rt.jar - press Javadoc location. There I see the link to the online help. I tried to use the source archive instead, the `src.zip` folder in the JDK directory. But that does not work. The source does not contain compiled Java doc anyway. Do I have to download the API docs? And if, where?

Original source