A fix to the JAVA_HOME + prevent TACHYON_HOME from overwritten