add java directory and files