adding java directory