adding java directories