d3r is a low-level realtime sound output library for Java, developed as the audio backend of dawd³. The Java sources can be found here.
d3r exposes the API of CPAL to Java through the use of JNI.