adding java dir