Eclipse不显示Java源代码

| 我在Intel Mac上的Eclipse中运行Java 1.6。我使用的是“ 0”下的1.6.0版本,并在Eclipse中将默认编译器设置为此。 如何附加源代码? 首先,我从oracle下载了1.6源码,以为我可以附上原因,因为安装的1.6没有源码。 当我单击一个Java类以获取源代码编辑器时,出现了问题: 首先,第一行说“ 1” 最重要的是,当我附加1.6源jar文件时,它得到一个错误:
An error has occurred. See error log for more details.
Unable to create resource org.eclipse.ui.internal.misc.ExternalProgramImageDescriptor@50417ba8
这也会出现在错误日志中:
java.lang.ClassNotFoundException: org.eclipse.ui.internal.views.log.LogView
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
Eclipse版本是:Web开发人员专用的Eclipse Java EE IDE。 版本:Helios Service Release 2 Build ID:20110218-0911 单击以获取安装详细信息时,我得到:
An internal error occurred during: \"Fetching children of _SELF_\".
Registry Directory not available: /Users/rfrail/Downloads/eclipse 2/p2/org.eclipse.equinox.p2.engine/profileRegistry.
我正在从我的Download目录运行Eclipse(过去运行良好);但是,Eclipse有2个文件夹: 蚀,和 月食2。 因此,这似乎是造成混乱的根源。否则,Eclipse运行良好。 你能帮忙吗?     
已邀请:
http://java.decompiler.free.fr/是您的答案 它有一个eclipse插件,可以在适当位置反编译代码     

要回复问题请先登录注册