change java directory