JAVA_HOME and HIST_IGNORE_DUPS.