Fork me on GitHub

JUtil
A Parameterized Collections Library for Java

C. Scott Ananian


JUtil is a fully-parameterized (generic) collections library for Java. It was originally part of the FLEX project.

The JUtil library is currently at version 2.0, which requires JDK 21 or later, to build and to run. It is on Maven Central as net.cscott:jutil. You can download the latest version, see recent changes, or browse the source code or API documentation on-line. JUtil is licensed under the GNU GPL v2.

Maven and Gradle

For Maven, add JUtil to your pom.xml:

  <dependency>
    <groupId>net.cscott</groupId>
    <artifactId>jutil</artifactId>
    <version>2.0</version>
  </dependency>

For Gradle, in build.gradle.kts:

repositories { mavenCentral() }
dependencies {
    implementation("net.cscott:jutil:2.0")
}

The jar is an automatic module named net.cscott.jutil. JUtil 1.5, the last of the 1.x releases, still builds on JDK 1.5 through 8, for older code.

Mailing list

Join the JUtil Announce List on Google Groups to receive mail when new versions of JUtil are released.

You can also follow the project on github or LiveJournal.

Source code repository

The git repository for JUtil can be cloned with the following command:

git clone https://github.com/cscott/JUtil.git

Version Archive

JUtil 2.0, released 31-Oct-2026. (Requires JDK 21; deprecates what the JDK now does itself.)

JUtil 1.5, released 30-Oct-2026.

JUtil 1.4, released 14-Feb-2009.

JUtil 1.3, released 30-Oct-2006. (Its tarball was lost; the source is from the git tag.)

JUtil 1.2, built 07-Feb-2004, but not released publicly at the time.

JUtil 1.1, released 24-Jan-2004. (Updated for the 2.4a1 JSR-14 compiler release.)

JUtil 1.0, released 26-Apr-2003. (Its jar file was lost.)


C. Scott Ananian
cscott cscott.net