Fixed java paths problem