title: How to get JDK 1.5 on Mac OS X
body: <p>I've got to write some code for a legacy application that is still running JDK 1.5. Unfortunately, it looks like OS&nbsp;X doesn't actually have a 1.5 JDK installed; it just links to 1.6:</p>
  
  <pre><code>/System/Library/Frameworks/JavaVM.framework/Versions $ ls -l
  lrwxr-xr-x  1 root  wheel    5 Apr 26 11:53 1.3 -&gt; 1.3.1
  drwxr-xr-x  3 root  wheel  102 Feb 11 15:33 1.3.1
  lrwxr-xr-x  1 root  wheel   10 Apr 26 11:53 1.4 -&gt; CurrentJDK
  lrwxr-xr-x  1 root  wheel   10 Apr 26 11:53 1.4.2 -&gt; CurrentJDK
  lrwxr-xr-x  1 root  wheel   10 Apr 26 11:53 1.5 -&gt; CurrentJDK
  lrwxr-xr-x  1 root  wheel   10 Apr 26 11:53 1.5.0 -&gt; CurrentJDK
  lrwxr-xr-x  1 root  wheel    5 Apr 26 11:53 1.6 -&gt; 1.6.0
  drwxr-xr-x  7 root  wheel  238 Apr 26 11:53 1.6.0
  drwxr-xr-x  8 root  wheel  272 Apr 26 11:53 A
  lrwxr-xr-x  1 root  wheel    1 Apr 26 11:53 Current -&gt; A
  lrwxr-xr-x  1 root  wheel    3 Apr 26 11:53 CurrentJDK -&gt; 1.6
  </code></pre>
  
  <p>It sounds like from <a href="http://developer.apple.com/java/faq/" rel="nofollow noreferrer">http://developer.apple.com/java/faq/</a> that Java is part of the OS update...I'm on <a href="http://en.wikipedia.org/wiki/Mac_OS_X_Snow_Leopard" rel="nofollow noreferrer">Mac&nbsp;OS&nbsp;X&nbsp;v10.6.3</a> (Snow&nbsp;Leopard). Is there a way to get an actual 1.5 JDK installed on this OS version?</p>
  
  <p>Or do I need to try and find an old version of OS&nbsp;X before I can do this work?</p>