A Java implementation of Hawk