Skip to main content

Comparison method violates its general contract when installing CICS Explorer SDK


Technote (troubleshooting)


Problem(Abstract)

You are installing the CICS Explorer SDK into Eclipse V3.6.2 for CICS Transaction Server for z/OS (CICS TS) V5.1. The install fails and displays a message box that says "Multiple problems have occurred" and 'An internal error occurred during "Install download1". Comparison method violates its general contract!'

Symptom

Installation of the CICS Explorer SDK fails and displays this pop-up:



There is no log file created.

Cause

Running on a local Java™ 7 JVM.

Diagnosing the problem

To determine if you are running Java 7 JRE, type java -version into a command line. In Windows, select Start > Run then enter cmd to bring up the command prompt tool.

Resolving the problem

Continue to use Java 7, but add the following lines to your eclipse.ini:

-vmargs
-Djava.util.Arrays.useLegacyMergeSort=true


If you already have a -vmargs line in the file, don't add another, just add the line beginning -D to the end of the file.

In Windows, edit eclipse.ini using Wordpad rather than Notepad to avoid corrupting the file.

This new system property forces JDK 7 to use the previous sorting algorithm and bypasses the problem.

Alternatively, use an older JRE like Java 6.


Related information

Java 7 support

Product Alias/Synonym

CICS/TS CICS TS CICS Transaction Server

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

CICS Transaction Server

Explorer


Software version:
4.1, 4.2, 5.1


Operating system(s):
z/OS


Reference #:
1614755


Modified date:
2013-02-19

Translate my page

Content navigation