remove all the java stuff