You followed the most correct procedure, I threw it right before writing this answer, and since this is the first result that appears when you encounter a Google problem, I think it will be convenient for many people and save your time, solutions :
UNZIP is the JavaDoc.zip file that you are referencing (which should be jdk-7u4-apidocs.zip for JavaSE 7 documents) and repeat the same procedure as Tools β Java Platforms β Javadoc (tab), then click "Add mail index / folder "and point to the unpacked folder instead of the jammed one, restart NetBeans, and it will work smoothly and directly.
You should download the docs file from the following link: http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html
After completing the described operation, your javadocs will not be available for you, and you do not need to connect to the Internet to find out about the API.
Best regards, brother.
Abbas zaini
source share