Community
Participate
Working Groups
Build Identifier: 20110218-0911 1. Install JDK 6 and JDK 7 2. Install the windows eclipse java package 3. start eclipse without any command line options 4. use a new workspace 5. install new software: from http://dl.google.com/eclipse/inst/d2wbpro/latest/3.6 6. select all packages and start installation after most or all packages are downloaded a message box wioth the following error is shown: An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Comparison method violates its general contract! Comparison method violates its general contract! This only happens, if JDK 7 is used, maybe accidently. If instead of step 3 the eclipse platform is started with a JDK 6 the installation succeeds. (It takes some time to find out, however ;) Reproducible: Always Steps to Reproduce: 1. Install JDK 6 and JDK 7 2. Install the windows eclipse java package 3. start eclipse without any command line options 4. use a new workspace 5. install new software: from http://dl.google.com/eclipse/inst/d2wbpro/latest/3.6 6. select all packages and start installation
Oh, I used the current JDK 1.7: C:\eclipse-java-helios-SR2-win32\eclipse>java -version java version "1.7.0-ea" Java(TM) SE Runtime Environment (build 1.7.0-ea-b130) Java HotSpot(TM) Client VM (build 21.0-b02, mixed mode, sharing) that did not work, but with JDK 1.6.0 Update 25 it worked.
*** This bug has been marked as a duplicate of bug 317785 ***