2012-03-31 95 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。)

相關問題