I am also try to refer the API doc online but the links are not working. I opened the java.sun.com site from there try to navigate to the java doc page but that is also not working. Can any one tell the actual url?
You should find the Java 6 documentation here. The Oracle site is often much slower than Sun was, so many of us download and unzip a copy; I can't seem to find where the download link is however.