moving overto java