remove Java classes