fix entry point int Java Test