add java and input files