If you are using Maven then you can add a dependency to tap4j.
<dependency> <groupid>org.tap4j</groupid> <artifactid>tap4j</artifactid> <version>4.4.2</version> </dependency>