add java file to the project