Adding the directory for Java projects.