title: Removing Java 8 JDK from Mac
body: <p>So I installed the beta of JDK 8 a while ago to look at some of the examples. I thought for sure by now, it's easy to change between versions. </p>
  
  <p>Doing some Play development with IntelliJ. For some reason, IntelliJ is compiling with 8 even though:</p>
  
  <ul>
  <li>I have the compiler set in Preferences to use 1.6</li>
  <li>Supposedly it's using SBT through external build, but sbt from the command line works</li>
  <li>JAVA_HOME is pointing to JDK 6.</li>
  </ul>
  
  <p>If I go to the Java Preferences page, it does show 8 installed, but there is no option to uninstall it and it doesn't see any of the other versions.</p>
  
  <p>When I do <code>which java</code>, it tells me <code>/usr/bin/java</code> and I do <code>/usr/bin/java -version</code> and it returns 1.6.</p>
  
  <p>Note: with a  little fiddling, you can use IntelliJ and JDK7, see <a href="https://stackoverflow.com/questions/13019199/how-do-i-run-idea-intellij-on-mac-os-x-with-jdk-7">here</a>.</p>