Open eclipse, select the menu "Window" - "Preferences" to open the preference setting interface. Find "java"->"Installed jre". Then click jre in the table on the right, and then click the button "Edit" on the right. An editing window will appear. In the jre system library list, change all "javadoc locations" :"Set as java help folder. The specific setting method is to select "javadoc location:" and click the "javadoc location button" on the right. After all settings are completed, click "OK". (The java help used here is the one with an api folder)
The documentation of JDK (5.0) has been completely Chinese, and the compressed package html_zh_CN.zip can be obtained in the sun China technology community.
Location: http://gceclub.sun.com.cn/chinese_java_docs.html
Extract the compressed package to the specified path. For example L:Java_api_docs_CNapi
Of course, if your English proficiency is good, it is recommended to use more English documents. If you encounter something that is really difficult to understand, you can use the Chinese help as a reference.
English document location: javadoc
If you want to verify whether the configuration is successful, you can do it after completing the above work. Write a simple "hello world!" small program, and then put the mouse on system. If instructions about system appear, the installation is successful.
During the installation process, I found that the eclipse I was already using could not be added by adding jdk. JDK must be set up before eclipse is installed and used, so that JDK can be used normally.
This article comes from the CSDN blog. Please indicate the source when reprinting: http://blog.csdn.net/ZWPzym19790304/archive/2009/12/31/5111524.aspx
-