20140117_update the java code