title: Why the java version 8 which is selected in jenv is not in fact the current java on my Mac?
body: <p>I have used brew to install sbt (which in its turn installs java 13), and brew cask to install openjdk java 8, like this:</p>
  
  <pre><code>brew install sbt
  brew cask install adoptjava8
  </code></pre>
  
  <p>Then added the java 8 to jenv as seen below:</p>
  
  <pre><code>jenv add (path to java 8 Home)
  
  nicolae.marasoiu@OVO4939MB ~ % jenv versions
    system
  * 1.8 (set by /Users/nicolae.marasoiu/.java-version)
    1.8.0.242
    13.0
    13.0.2
    openjdk64-1.8.0.242
    openjdk64-13.0.2
  </code></pre>
  
  <p>But still:</p>
  
  <pre><code>nicolae.marasoiu@OVO4939MB ~ % java -version
  openjdk version "13.0.2" 2020-01-14
  OpenJDK Runtime Environment (build 13.0.2+8)
  OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)
  </code></pre>