Put JAVA_HOME variable back.