This commit updates the setting of JAVA_HOME in /etc/environment to be done with file_line rather than exec.