我们怎样才能安装Java API帮助在Eclipse? [英] how can we install Java Api Help in Eclipse?

查看:498
本文介绍了我们怎样才能安装Java API帮助在Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我与互联网相连,内部黯然失色浏览器打开该网页,当我不与互联网连接的,它无法显示网页。我想是我的计算机上本地安装的网页,这样我就不必担心互联网连接。

When i am connected with internet, eclipse internal browser opens that page and when i am not connected with the internet, it can not display the web page. I want the web page to be installed locally on my computer, so that i do not have to worry about internet connection.

我附上的,我希望可脱机使用的帮助快​​照。

I am attaching snapshot of the help that i want available offline.

http://cubixshade.com/newScreen.jpg

推荐答案

下载的javadoc从Java网站zip文件(链接Java 7的文档
<一href=\"http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html\">Here).

Download the javadocs zip file from java website (link for Java 7 docs Here).

现在在乌拉圭回合月食转到 prefernces

Now in ur eclipse go to the Prefernces



和选择已安装的JRE



and choose Installed JREs


现在如果u安装了多个JRE中选择你使用点击修改之一。

Now if u have multiple JREs installed choose the one which you use and click Edit.

请注意,JRE为其复选框被选中是其中之一是
  默认情况下,美国可以在乘坐默认为特定项目。

Note that the JRE for which the checkbox is checked is the one which is default, u can over ride the default for a specific project.



展开的lib \\ rt.jar中如图所示below.And选择的Javadoc位置属性,点击的Javadoc位置按钮



Expand the lib\rt.jar as shown below.And select the Javadoc location property, click on Javadoc Location button


请注意:如果妳选择了JDK(如上图所示),然后会自动成为
  源附件。(和U大概不会需要一个Javadoc的API明确),但在JRE的情况下,源,除非手工指定将不可用。(见下图片),在这两种情况下,美国可以一javadoc的离线连接。


  

NOTE :If u have chosen a JDK (as shown above) then there will automatically be a source attachment.(And u probably wont need a javadoc-api explicitly).But in case of a JRE the source will not be available unless specified manually.(See next image.).In Either case u can attach a javadoc offline.


现在在Javadoc窗口中选择的Javadoc归档单选按钮,然后单击浏览... ,选择下载的Javadoc zip文件更早



Now in the javadoc window select Javadoc in archive radio button and click on Browse..., select the javadoc zip file downloaded earlier


点击确定完成关闭所有打开的窗口(Javadoc窗口,编辑JRE窗口,和preferences窗口)

Click OK or Finish to close all the open windows (javadoc window, Edit JRE window, and Preferences window)

这就是它!现在ü可以使用的Javadoc,启用的Javadoc视图窗口&GT;显示视图&gt;的Javadoc。

That's it!! Now u can use the javadoc, Enable the javadoc view in Window > Show View > Javadoc.



在乌拉圭回合的java的src文件编辑器中的任何类只需双击和u会看到它的Javadoc在Javadoc窗口以及在工具提示。


Just double click on any class in ur java src file editor and u will see the javadoc for it in the javadoc window as well as in a tool tip.

希望其解决乌尔问题。让我知道如果u有任何问题。

Hope its solved ur problem. Let me know if u have any issues.

这篇关于我们怎样才能安装Java API帮助在Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆