change sample java ai