2012-03-31 94 views
4

在一台干净的pc上下载Eclipse Indigo后,当我尝试从http://dl.google.com/eclipse/plugin/3.7下载并下载SDK和Google插件时,大约有35%的时间开始出现错误。安装额外的eclipse indigo文件

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 

任何线索?

回答

7

它是基于Java运行Eclipse 3.7的一个已知的问题7

可能的解决方法:

  • 使用JRE7u5(最新版本)
  • 使用JRE7时,那里有一个小的很少记录功能 集系统属性java.util.Arrays.useLegacyMergeSort = true 这应该使用旧的实施,不应该提出的错误 (我还没有测试,但你可以搜索的属性;-))

有关详细信息,请参见bug 317785

+0

我降级到Java JRE 6和除了Android的东西,一切正常安装。是什么赋予了?无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:适用于Android的Google App Engine工具... 缺少要求:com.google.gdt.eclipse.mobile.android需要'bundle com.android.ide.eclipse.adt 12.0.0',但无法找到 无法满足依赖关系: 来自:适用于Android的Google App Engine工具2.5.2.v201203300216-rel-r37(com.google.gdt.eclipse.mobile.android ... – user963070 2012-03-31 21:06:34

+0

当我检查下载Google App Engine和GWT时设计师。 – user963070 2012-03-31 21:12:16

0

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

0

我有类似的问题。无法安装Android本机开发工具。出现此错误 - “内部错误发生在:”安装download3“。比较方法违反了它的一般合同!”

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

希望这可以帮助别人

0

我安装BIRT插件到Eclipse靛蓝期间有这个问题。我在更新管理器中通过using this URL解决了它。我必须先添加网址,因为只有this URL在那里。

2

尝试使用较老的java版本运行eclipse。

d:从命令行启动eclipse \ Eclipse的\日食J2EE靛蓝>日食-vm C:\的Java \ jdk1.6.0_31 \斌\ javaw.exe的

它为我。

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