Eclipse Helios没有显示Javadoc [英] Eclipse Helios not showing Javadoc

查看:127
本文介绍了Eclipse Helios没有显示Javadoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我有一台新电脑,我把Eclipse Helios放在那里。之前,在我的旧电脑上,当我使用控制辅助(Ctrl + Space)并突出显示了建议的方法时,该方法的Javadoc用于显示在控件侧面的帮助弹出窗口,其方法描述和参数等...



但是,在我的新计算机上,这个Javadoc不会出现,只有方法建议出现 - 但是即使方法的参数也没有命名'刚刚调用 arg0 arg1 等等)。我可以想到的唯一的事情是在新的安装上是不同的ZoneAlarm,但据我看到,我已经允许eclipse通过防火墙;除非它与Java本身有关。



此功能对我来说非常有用,所以如何解决此问题的任何建议将不胜感激。感谢提前。

解决方案

Eclipse正在使用JRE而不是JDK作为默认Java。




  • 下载并安装JDK。

  • 在Eclipse首选项中,Java - >已安装JRE。使用添加或搜索找到并添加刚刚安装的JDK。

  • 将指示默认Java的复选标记移动到新发现的JDK。

  • 允许工作区重建。


I have recently got a new computer and I have put Eclipse Helios on there. Before, on my old computer, when I used the control-assist (Ctrl + Space) and highlighted the suggested methods, the Javadoc for that method used to appear at the side of the control assist pop up window with the method description and parameters etc...

However, on my new computer this Javadoc doesn't appear and only the method suggestions appear - but even the arguments for the methods aren't named (they're just called arg0, arg1 and so on). The only thing I can think of that is different on the new install is ZoneAlarm but as far as I can see I have allowed eclipse through the firewall; unless it's something to do with Java itself.

This feature is really useful to me so any advice on how to resolve this issue would be greatly appreciated. Thanks in advance.

解决方案

Eclipse is using a JRE instead of a JDK as the default Java.

  • Download and install a JDK.
  • In Eclipse Preferences, Java -> Installed JRE's. Use "Add" or "Search" to locate and add the JDK just installed.
  • Move the check mark indicating the default Java to the newly found JDK.
  • Allow the workspace to rebuild.

这篇关于Eclipse Helios没有显示Javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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