Add java directory