revise java client