This is a common problem when building javadoc offline, or from "offline" locations. The link option is , as far as i know, used for locating the packagelist for the thirdparty api you are using. You may copy this package list to a local directory and tell javadoc to obtain the packagelist from that location instead.
If you're using
ant this can be done like this: