Updated JAVA_HOME in .profile.