title: How to clear the JAVA_HOME in linux
body: <p>I have previously installed java 1.8.0 and the JAVA_HOME was set to usr/lib/jvm/java-1.8.0-openjdk-amd64.
  Now I uninstalled java and still the JAVA_HOME is set to the above path. I cleared it in etc/environment. But when i echo $JAVA_HOME it still shows the previous path. Even though I installed a new version of java and tried changing the JAVA_HOME it didn't work. Can anyone please help me? </p>