Fixed java execution