Fixed java call