title: how to switch java version on Mac OS 10.8.4
body: <p>I need to switch the Java version on my <code>Mac OS X 10.8.4</code> but am not sure how, the version I have right now is <code>1.6.0_51</code> but i want to switch to <code>1.6.0_45</code>:</p>
  
  <pre>
  $java -version
  java version "1.6.0_51"
  Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
  Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
  
  /usr/libexec/java_home -v 1.6.0_43
  Unable to find any JVMs matching version "1.6.0_43".
  /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
  </pre>
  
  <p>I assume there is no such a version as <code>1.6.0_43</code> on my mac? how can install it and then switch to it? thanks!</p>