安装额外的eclipse靛蓝文件

时间:2012-03-31 01:37:33

标签: eclipse install eclipse-indigo

在干净的电脑上下载Eclipse Indigo后,当我尝试从http://dl.google.com/eclipse/plugin/3.7下载并下载SDK和Google插件时,大约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

任何线索?

5 个答案:

答案 0 :(得分:7)

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

可能的解决方法:

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

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

答案 1 :(得分:2)

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

  

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

它对我有用。

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

答案 2 :(得分:0)

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

答案 3 :(得分:0)

我有类似的问题。无法安装Android Native Development Tools。得到此错误 - “在以下期间发生内部错误:”安装download3“。比较方法违反了其总合同!”

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

希望这有助于某人

答案 4 :(得分:0)

在将BIRT插件安装到Eclipse Indigo期间,我遇到了这个问题。我在Update Manager中通过using this URL解决了它。我必须先添加网址,因为只有this URL