title: Can I have two versions of the JDK on my computer?
body: <p>I'm trying to set the IntelliJ IDEA JDK to version 1.8 (because it's the latest). When I navigate to <code>System/Library/Frameworks/JavaVM.framework</code> IntelliJ IDEA shows 1.6. When I type <code>java -version</code> it shows 1.8. I found that command under "Finding default JDK on OSX" <a href="https://www.java.com/en/download/help/version_manual.xml" rel="nofollow">https://www.java.com/en/download/help/version_manual.xml</a></p>
  
  <p>I'm confused what versions of the JDK I have... and where they are located. Appreciate any help.</p>