Netbeans反复下载Javadoc [英] Netbeans Download Javadoc repeatedly
问题描述
我使用Netbeans 7.0.1进行研究项目。我的问题是,每次我想检查给定函数或类的javadoc(从自动完成菜单),Netbeans下载Javadoc并仅在它运行时缓存它。如果我重新启动Netbeans,我必须再次下载javadoc。
I work with Netbeans 7.0.1 for a research project. My issue is that each time I want to check the javadoc for a given function or class (from the auto-completion menu), Netbeans downloads Javadoc and caches it only while it's running. If I restart Netbeans, I have to download the javadoc again.
有没有办法告诉Netbeans永远缓存Javadoc?
我在Mac OS上工作。
Is there a way to tell Netbeans to cache the Javadoc for ever? I work with Mac OS.
推荐答案
每次下载Javadoc都很奇怪......
在Netbeans中配置javadoc:
It seems strange that you download the Javadoc everytime... To configure javadoc in Netbeans :
工具 - > Java平台
Tools -> Java Platforms
选择你的JDK,在Javadoc窗格中,URL应该是:
Choose your JDK, the in the pane Javadoc the URL should be :
如果您有问题,请将其删除并下载javadoc zip 并添加它而不是网址。
If you have problem with this remove it and download the javadoc zip and add it instead of the url.
JDK8更新链接(感谢@Tim S): http://www.oracle.com/t echnetwork / java / javase / documentation / jdk8-doc-downloads-2133158.html
JDK8 updated link (thanks @Tim S) : http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html
这篇关于Netbeans反复下载Javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!