removing unused java stuff