Jason S
Jason S

Reputation: 189646

Downloading Sun javadocs / mirror websites

The network between our company and Sun's javadocs seems to be down. Where can I get a copy of the javadocs for a given package, so that I can keep my own stash to handle network outages in the future? Are there any mirrors for the Sun javadocs?

Upvotes: 4

Views: 1241

Answers (4)

Brian Agnew
Brian Agnew

Reputation: 272257

I run classfinder on a MacMini locally. It's a small webserver dedicated to serving Javadoc and related source. You just take the zipped Javadoc and (optionally) the source package, and drop them in the appropriate directory. Classfinder works out the dependencies between all the docs and presents everything as a unified set of docs.

If you have multiple versions of packages (e.g. different servlet docs) you can dynamically select what you want to display. It all works beautifully and deserves much more fame than it currently gets.

Upvotes: 2

TofuBeer
TofuBeer

Reputation: 61526

Down for me too (java.sun.com seems to be MIA at the moment).

Some form of the JDK docs are here: http://www.docjar.com/docs/api/java/

Upvotes: 2

starblue
starblue

Reputation: 56762

For each major release there is a large doc package, e.g. here for JDK 1.6.

(I hope the link is correct, picked it out of the docs I downloaded a while ago. Can't connect to SUN either from here.)

Upvotes: 4

Jared
Jared

Reputation: 26149

Most surefire bet: download the source and run Javadoc over it yourself, and stick it on an internal web server.

(FWIW - I can't reach their javadocs from my internal network right now either.)

Upvotes: 2

Related Questions