新电脑,Eclipse 坏了
我周五收到了我的新电脑,在移动完所有开发项目后,我的 Eclipse“悬停”弹出窗口停止工作。我的意思是,通常当我将鼠标悬停在元素/方法/等...上时,会弹出一个包含 javadoc 信息的小窗口,告诉我参数和方法的描述。现在它只是说:
注意:在附加的源代码和附加的 Javadoc 中都找不到该元素的 Javadoc。
我已经看到 this SO 帖子并尝试过。尽管我会说,当您进入“首选项”>“java”>“已安装的 jre”>“编辑”时,有 15 个不同的包。所有都指向文档的 http:// 地址。
另外,我安装的 Android 文档也没有启动(这正是我正在开发的目的)。
I received my new computer friday and after moving over all of my development projects, my Eclipse "hover" popups have quit working. What I mean is usually when I hover over an element/method/etc... , a small window with the javadoc info will pop up telling me parameters, and a description of the method. Now it just says:
Note: The Javadoc for this element could neither be found in the attached source nor the attached Javadoc.
I've already seen this SO post and tried it. Although I will say there are 15 different packages when you go into preferences>java>installed jre's>edit. All point to an http:// address for the docs.
Also the Android documentation I installed doesn't pull up either (which is what I'm developing for).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是您的标准 Java 类/方法/等吗?或者自定义/Android 代码?我认为你的问题是因为你安装了JRE。您需要从此处下载Java SE 6 SDK。 JDK 拥有所有标准 Java 类的源文件。安装完成后,在 Eclipse 中,转到
如果是某些非标准 Java 代码的问题,请确保您已下载源代码。然后,
注意:如果您已经安装了 JDK,则可以编辑当前的 JRE 以指向 jdk 文件夹而不是 jre 文件夹,即“C:\Java\jdk1.6.0_xx”而不是“C:\Java\jre6” 。
第二个注意事项:您的 Java 位版本必须与您的 Eclipse 位版本相匹配,因此 32 位 Eclipse 需要 32 位 Java,等等。
Is this with your standard Java classes/methods/etc. or for custom/Android code? I think your problem is because of your installed JRE. You need to download the Java SE 6 SDK from here. The JDK has all of the standard Java classes' source files. Once you have it installed, in Eclipse, go to
If it's a problem with some nonstandard Java code, make sure that you've downloaded the source code. Then,
NOTE: If you've already installed the JDK, you can edit your current JRE to point to the jdk folder instead of the jre folder i.e. "C:\Java\jdk1.6.0_xx" instead of "C:\Java\jre6".
2nd NOTE: Your bit version of Java must match your bit version of Eclipse, so 32-bit Eclipse requires a 32-bit Java, etc.