rep for java