removing unusued java configurations