After downloading Eclipse Indigo on a clean pc, when I try to download from http://dl.google.com/eclipse/plugin/3.7 and download SDKs and Google Plugin , at about 35% of the way through I start getting errors.
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?
It's a known issue of Eclipse 3.7 running on Java 7.
Possible workarounds:
See bug 317785 for detail.
Try to run eclipse with older java version. Start Eclipse from command line with:
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.)
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! "
I ended up installing CDT (C/C++ Development Tools) from the Helios update site. Then I could install Android Native Development Tools.
Hope this helps someone
I had this problem during installation of BIRT plugin into Eclipse Indigo. I solved it by using this URL in the Update Manager. I had to add the URL first, because only this URL was there.
这是降级到Java 6 JRE和下载ADT以应对App Engine下载问题的组合。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.