clean the old jdk dir before installing the new one