Erase old java-related configuration