Eclipse Collections and JDK Compatibility Matrix
EC | JDK 5 - 7 | JDK 8 | JDK 9 - 10 | JDK 11 - 14 | JDK 15 - 21 |
---|---|---|---|---|---|
7.x.x | ✓ | ✓ | |||
8.x.x | ✓ | ||||
9.x.x | ✓ | ✓ | ✓ | ||
10.x.x | ✓ | ✓ | ✓ | ||
10.4.0 | ✓ | ✓ | ✓ | ✓ | |
11.x.x | ✓ | ✓ | ✓ | ✓ | |
12.x.x | ✓ | ✓ |
Note: Eclipse Collections 12.x will be compatible with Java 11+. EC 12.0 has not been released as GA yet, but there are a few milestone releases available to test with.
Acquiring Eclipse Collections
Maven
<dependency>
<groupId>org.eclipse.collections</groupId>
<artifactId>eclipse-collections-api</artifactId>
<version>11.1.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.collections</groupId>
<artifactId>eclipse-collections</artifactId>
<version>11.1.0</version>
</dependency>
Gradle
implementation 'org.eclipse.collections:eclipse-collections-api:11.1.0'
implementation 'org.eclipse.collections:eclipse-collections:11.1.0'
OSGi Bundle
Eclipse software repository location: https://download.eclipse.org/collections/11.1.0/repository