Netbeans Download Javadoc again

I am working with Netbeans 7.0.1 for a research project. My problem is that every time I want to check javadoc for a given function or class (from the auto-completion menu), Netbeans loads Javadoc and caches it only while it is running. If I restart Netbeans, I have to download javadoc again.

Is there a way to tell Netbeans to cache Javadoc forever? I work with Mac OS.

+4
source share
2 answers

It seems strange that you download Javadoc every time ... To configure javadoc in Netbeans:

Tools → Java Platforms

Select the JDK, in the Javadoc panel the URL should be:

http://download.oracle.com/javase/7/docs/api/

If you have a problem with this, uninstall it and download javadoc zip and add it instead of the url.


Updated JDK8 link (thanks @Tim S): http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html

+10
source

I am using JDK 1.8 with Netbeans 8.0.2 . I also had a problem with Netbeans constantly downloading Javadoc from the Internet.

I found a solution for this as:
Open Netbeans, then go to Tools -> Java Platforms . Then go to the Javadoc tab and remove all the URLs added for the javadoc platform.
In the "Source" tab, you can add a specific Javadoc from your local environment, which you can download from the oracle website, i.e. Java SE 8 Doc .
This stopped the continued download of Javadoc from the Internet.

+5
source

Source: https://habr.com/ru/post/1400624/


All Articles