title: Change JAVA_HOME value in Linux Mint 19x
body: <p>I have a linux mint 19x and if I do:</p>
  
  <pre><code>echo $JAVA_HOME &gt;&gt; /usr/lib/jvm/java-8-oracle
  </code></pre>
  
  <p>I want to change the path to put Java 11, but not in the .bashrc, .profile, /etc/enviroment file, I see my JAVA_HOME defined</p>
  
  <p>I tried to put the JAVA_HOME path in my /etc/environment</p>
  
  <pre><code>JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
  </code></pre>
  
  <p>Can someone tell me where my JAVA_HOME can be defined, so I can change it well.</p>