remove java stuff