moving java apis around