Changed java side according to the change in dll