Eclipse中配置中文JDK API文档

时间:2023-01-21 17:35:43

在eclipse中:Windows->Preferences->Java->Installed JREs:

Eclipse中配置中文JDK API文档

选中列表中的jre,点击Edit:

Eclipse中配置中文JDK API文档

选中列表中的javadoc location,点击Javadoc Location...:

Eclipse中配置中文JDK API文档

选择Javadoc in archive->External file,在Archive path中选择下载的JDK中文API文档,下载地址是

http://dlc.sun.com.edgesuite.net/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/html_zh_CN.zip

然后在Path within archive中选择api所在的目录:

Eclipse中配置中文JDK API文档

OK所有窗口,设置完毕