Fixed java setup