Adds Java implementation.