title: How do I add Java 1.8 to IntelliJ (OSX)
body: <p>I am trying to create a new JavaFX project. I have 1.8 installed which I believe includes the javafx packages. Running <code>javac -version</code> in the terminal shows <code>javac 1.8.0_121</code>. I installed from <a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" rel="nofollow noreferrer">here</a></p>
  
  <p>When I go to <code>File -&gt; Project Structure -&gt; Project</code> the selected version is <code>1.6</code>. There is no <code>1.8</code> version in the list. If I select add new, and navigate to <code>/System/Library/Frameworks/JavaVM.framework/Versions</code> I see:</p>
  
  <pre><code>1.4
  1.4.2
  1.5
  1.5.0
  1.6
  1.6.0
  </code></pre>
  
  <p>There is no <code>1.8</code> version.</p>
  
  <p>How can I update IntelliJ to user version <code>1.8</code>?</p>