add java cat problem