remove legacy java file