安装额外的 eclipse indigo 文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9952273/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:57:11  来源:igfitidea点击:

installing additional eclipse indigo files

eclipseinstalleclipse-indigo

提问by user963070

After downloading Eclipse Indigo on a clean pc, when I try to download from http://dl.google.com/eclipse/plugin/3.7and download SDKs and Google Plugin , at about 35% of the way through I start getting errors.

在干净的电脑上下载 Eclipse Indigo 后,当我尝试从http://dl.google.com/eclipse/plugin/3.7下载并下载 SDKs 和 Google Plugin 时,在大约 35% 的过程中我开始出现错误。

Install download1
An internal error occurred during: "Install download1".
Comparison method violates its general contract!

Install download2
An internal error occurred during: "Install download1".
Comparison method violates its general contract!

Install download3
An internal error occurred during: "Install download1".
Comparison method violates its general contract!

Installing Software
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
Unable to write to repository: file:/C:/Users/erice/Downloads/eclipse-jee-indigo-win32-x86_64/eclipse/.
C:\Users\erice\Downloads\eclipse-jee-indigo-win32-x86_64\eclipse\plugins\com.ning.async-http-client_1.6.3.201112281337.jar (Access is denied)
Unable to write to repository: file:/C:/Users/erice/Downloads/eclipse-jee-indigo-win32-x86_64/eclipse/.
C:\Users\erice\Downloads\eclipse-jee-indigo-win32-x86_64\eclipse\plugins\com.ning.async-http-client_1.6.3.201112281337.jar (Access is denied)
No repository found containing: osgi.bundle,org.eclipse.m2e.archetype.common,1.0.200.20111228-1245
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.indexer,1.0.200.20111228-1245
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.runtime,1.0.200.20111228-1245
No repository found containing: osgi.bundle,org.jboss.netty,3.2.4.Final-201112281337

Any clues?

有什么线索吗?

回答by Kane

It's a known issue of Eclipse 3.7 running on Java 7.

这是在 Java 7 上运行的 Eclipse 3.7 的一个已知问题。

Possible workarounds:

可能的解决方法:

  • use JRE7u5 (last version)
  • when using JRE7, theres a small rarely documented feature set system property java.util.Arrays.useLegacyMergeSort=true This should use old implementation and should not bring up the bug (I haven't tested, but you can search for the property ;-) )
  • 使用 JRE7u5(最新版本)
  • 使用 JRE7 时,有一个很少记录的小功能集系统属性 java.util.Arrays.useLegacyMergeSort=true 这应该使用旧实现并且不应该带来错误(我没有测试过,但您可以搜索该属性;- ) )

See bug 317785for detail.

有关详细信息,请参阅错误 317785

回答by Jacek Milewski

Try to run eclipse with older java version. Start Eclipse from command line with:

尝试使用较旧的 Java 版本运行 eclipse。从命令行启动 Eclipse:

D:\Eclipse\eclipse j2ee indigo>eclipse -vm C:\Java\jdk1.6.0_31\bin\javaw.exe

D:\Eclipse\eclipse j2ee indigo>eclipse -vm C:\Java\jdk1.6.0_31\bin\javaw.exe

It worked for me.

它对我有用。

(-vm is pointing to your jre instalation. Remember: Eclipse does not use JAVA_HOME variable. it uses its own Java.)

(-vm 指向您的 jre 安装。记住:Eclipse 不使用 JAVA_HOME 变量。它使用自己的 Java。)

回答by user963070

It was a combination of downgrading to Java 6 JRE and downloading ADT for the App Engine downloading problem.

这是降级到 Java 6 JRE 和为 App Engine 下载问题下载 ADT 的组合。

回答by Leon

I had a similar issue. Could not install Android Native Development Tools. Was getting this error - "An internal error occurred during: "Install download3".Comparison method violates its general contract! "

我有一个类似的问题。无法安装 Android 本机开发工具。收到此错误 - “在:“安装下载3”期间发生内部错误。比较方法违反其一般合同!“

I ended up installing CDT (C/C++ Development Tools) from the Helios update site. Then I could install Android Native Development Tools.

我最终从 Helios 更新站点安装了 CDT(C/C++ 开发工具)。然后我可以安装Android Native Development Tools。

Hope this helps someone

希望这有助于某人

回答by Gero

I had this problem during installation of BIRT plugin into Eclipse Indigo. I solved it by using this URLin the Update Manager. I had to add the URL first, because only this URLwas there.

我在将 BIRT 插件安装到 Eclipse Indigo 时遇到了这个问题。我通过在更新管理器中使用这个 URL解决了它。我必须先添加 URL,因为那里只有这个 URL