add java sample files