adding directory for java programs